Module bastionlab.errors
Classes
GRPCException(err:Β Union[grpc._channel._InactiveRpcError,Β grpc._channel._MultiThreadedRendezvous])
-
A custom exception class for wrapping gRPC errors. This allows for better error handling and display.
Args: err (Union[grpc._channel._InactiveRpcError, grpc._channel._MultiThreadedRendezvous]): The gRPC error that was caught and wrapped by this exception.
Ancestors (in MRO)
- builtins.Exception
- builtins.BaseException
Class variables
err: Union[grpc._channel._InactiveRpcError,Β grpc._channel._MultiThreadedRendezvous]
:Instance variables
code: grpc.StatusCode
- The status code of the gRPC error.
RequestRejected(message='Action cancelled after data access request rejected by data owner')
-
Exception raised when function tries to use datorama returned after a rejected access request.
Ancestors (in MRO)
- builtins.Exception
- builtins.BaseException