class

Errors::Show

Inherits Lucky::RequestTypeHelpers < Lucky::ErrorAction < Lucky::Exposable < Lucky::Redirectable < Lucky::Renderable < Lucky::ParamHelpers < Lucky::ActionDelegates < Reference < Object

This class handles error responses and reporting.

https://luckyframework.org/guides/http-and-routing/error-handling

Constants

DEFAULT_MESSAGE = "Something went wrong."
EXPOSURES = [] of Symbol

This class handles error responses and reporting.

https://luckyframework.org/guides/http-and-routing/error-handling

Instance methods

_dont_report
Source
default_render(error : Exception) : Lucky::Response

If none of the 'render' methods return a response for the raised Exception, Lucky will use this method.

Source
render(error : Lucky::RouteNotFoundError)
Source
render(error : Lucky::RenderableError)

Always keep this below other 'render' methods or it may override your custom 'render' methods.

Source