gravitino.exceptions.handlers.function_error_handler.FunctionErrorHandler¶
- class gravitino.exceptions.handlers.function_error_handler.FunctionErrorHandler¶
Bases:
RestErrorHandlerError handler for function-related operations.
- __init__()¶
Methods
- handle(error_response: ErrorResponse)¶
Handles the error response and raise the appropriate Exception. The implementation will use the provided error response to determine which exception to raise.
- Args:
error_response: the error response from the server
- Raises:
appropriate Exception.