IsNotFound
Checks if the given error is a gRPC "NotFound" error. It extracts the gRPC status from the error and returns true if the status code is "NotFound".
def IsNotFound(
err: error
) - > bool
Checks if the provided error indicates a "Not Found" gRPC status. This function is used to determine if a gRPC error specifically signifies that a 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. |