HttpServerException
class HttpServerException(val status: HttpStatus, msg: String, cause: Throwable) extends Exception with HttpServerExceptionBase
Exception to report errors to client
trait HttpServerExceptionBase
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Value members
Constructors
Concrete methods
Inherited methods
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
- Returns:
a string representation of the object.
- Inherited from:
- Throwable
Set the content body using a given object and codec factory. Encoding can be JSON or MsgPack based on Content-Type header.
Set the content body using a given object and codec factory. Encoding can be JSON or MsgPack based on Content-Type header.
- Inherited from:
- HttpServerExceptionBase
Set the content body using a given object. Encoding can be JSON or MsgPack based on Content-Type header.
Set the content body using a given object. Encoding can be JSON or MsgPack based on Content-Type header.
- Inherited from:
- HttpServerExceptionBase