Skip to main content

IsNotFound

Gets a value indicating whether the underlying error is a Not Found error.

def IsNotFound(
err: error
) - > bool

Gets a value indicating whether the underlying error is a Not Found error.

Parameters

NameTypeDescription
errerrorThe error to check for a Not Found condition.

Returns

TypeDescription
boolTrue if the error is a Not Found error, False otherwise.