abstract class ExceptionPage
- ExceptionPage
- Reference
- Object
Included Modules
Defined in:
exception_page.crexception_page/version.cr
Constant Summary
-
VERSION =
"0.4.0"
Constructors
Class Method Summary
Instance Method Summary
-
#backtracer : Backtracer::Configuration | Nil
Override this method to provide custom
Backtracer
configuration -
#extra_javascript
Override this method to add extra javascript to the page
-
#project_url : String | Nil
Add an optional link to your project
-
#stack_trace_heading_html
Override this method to add extra HTML to the top of the stack trace heading
- #styles : Styles
-
#to_s(__io__ : IO) : Nil
Appends a short String representation of this object which includes its class name and its object address.
Instance methods inherited from module ExceptionPage::Helpers
css_class_for_frame(frame) : String
css_class_for_frame,
host_from_context(context)
host_from_context,
label_for_frame(frame) : String
label_for_frame
Constructor Detail
Class Method Detail
Instance Method Detail
def backtracer : Backtracer::Configuration | Nil
#
Override this method to provide custom Backtracer
configuration
def stack_trace_heading_html
#
Override this method to add extra HTML to the top of the stack trace heading
def to_s(__io__ : IO) : Nil
#
Description copied from class Reference
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>