Sha256: 9f6d09b4919ee4f24afaa7cd242ac05438ae43badaf46a6a85163249b902534a
Contents?: true
Size: 432 Bytes
Versions: 16
Compression:
Stored size: 432 Bytes
Contents
class ExceptionsApp < Rambulance::ExceptionsApp def not_found; end def internal_server_error render_custom_error_page end def not_acceptable render_custom_error_page end private def render_custom_error_page render inline: <<-BODY <html> <body> <h1>Custom error page</h1> <p>Something went wrong!</p> </body> </html> BODY end end
Version data entries
16 entries across 16 versions & 1 rubygems