DecryptException class
Thrown when encrypted text can not be decrypted.
The text was changed, cut, or made with another key.
Dox answers with 400 Bad Request. With CoreFlags.decryptServerError
it answers 500 Server Error, and the ExceptionHandler reports it.
- Inheritance
-
- Object
- IHttpException
- BadRequestException
- DecryptException
Constructors
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toResponse(
) → dynamic -
the JSON body of the error answer:
{"code": "not_found", "message": "Not Found"}. aMapmessage is sent as it is, so validation errors and custom JSON keep their own shape.inherited -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited