Represents an error that can be translated to an HTTP status code (404, 500, etc.)
Constructor
new (message:String, statusCode:Int)
Parameters:
message | The error message |
---|---|
statusCode | The HTTP status code |
Represents an error that can be translated to an HTTP status code (404, 500, etc.)
new (message:String, statusCode:Int)
Parameters:
message | The error message |
---|---|
statusCode | The HTTP status code |