bedrock.exceptions.bad_request_exception
1from .bedrock_exception import BedrockException 2 3 4class BadRequestException(BedrockException): # pragma: unit 5 """ 6 Throw this exception when the client has sent a bad request. 7 8 Default HTTP code: 400. 9 """ 10 def __init__(self, message="Bad request", exception=None): 11 super().__init__(message, exception, error_code=400)
5class BadRequestException(BedrockException): # pragma: unit 6 """ 7 Throw this exception when the client has sent a bad request. 8 9 Default HTTP code: 400. 10 """ 11 def __init__(self, message="Bad request", exception=None): 12 super().__init__(message, exception, error_code=400)
Throw this exception when the client has sent a bad request.
Default HTTP code: 400.