class Exception

Overview

Extensions to the standard Exception class.

Direct Known Subclasses

Defined in:

onyx-http/ext/exception/status_message.cr
onyx-http/ext/exception.cr

Instance Method Summary

Instance Method Detail

def status_message #

The status message for this error. Returns its class name decorated as an HTTP status message, for example "User Not Found" for MyEndpoint::UserNotFound error.


[View source]