IsNotFound
Checks if the provided error indicates a "NotFound" GRPC status code.
def IsNotFound(
err: error
) - > bool
Checks if a given error indicates a "Not Found" gRPC status. This function is used to determine if an error returned from a gRPC call signifies that the requested resource was not found.
Parameters
| Name | Type | Description |
|---|---|---|
| err | error | The error to check for a "Not Found" gRPC status. |
Returns
| Type | Description |
|---|---|
bool | True if the error is a gRPC "Not Found" status, False otherwise. |