TerminalException

constructor()


constructor(code: Int)

Like TerminalException, without message.


constructor(code: Int, message: String)

Create a new TerminalException.

Parameters

code

HTTP response status code

message

error message


constructor(message: String)

Like TerminalException, with code INTERNAL_SERVER_ERROR_CODE.