class

ExceptionPage

Inherits ExceptionPage::Helpers / Reference / Object

Constants

VERSION = "0.5.0"

Constructors

new(exception : Exception, method : String, path : String, status : HTTP::Status, title : String | Nil = nil, params : URI::Params = URI::Params.new, headers : HTTP::Headers = HTTP::Headers.new, cookies : HTTP::Cookies = HTTP::Cookies.new, message : String | Nil = nil, url : String | Nil = nil)
Source
new(context : HTTP::Server::Context, exception : Exception)
Source

Instance methods

backtracer

Override this method to provide custom Backtracer configuration

Source
extra_javascript

Override this method to add extra javascript to the page

Source
project_url

Add an optional link to your project

Source
stack_trace_heading_html

Override this method to add extra HTML to the top of the stack trace heading

Source
styles
Source
to_s(__io__ : IO) : Nil

Appends a short String representation of this object which includes its class name and its object address.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).to_s # => #<Person:0x10a199f20>
Source

Nested types