Sha256: fc6b1ea1b0911c15f896e6c2a5cbba0bd326f3c37b9d2a7d5c00c727a906edd0

Contents?: true

Size: 1.77 KB

Versions: 2

Compression:

Stored size: 1.77 KB

Contents

#######################################################################################
#######################################################################################
##  _____                   _   _               _   _                 _ _            ##
## |  ___|                 | | (_)             | | | |               | | |           ##
## | |____  _____ ___ _ __ | |_ _  ___  _ __   | |_| | __ _ _ __   __| | | ___ _ __  ##
## |  __\ \/ / __/ _ \ '_ \| __| |/ _ \| '_ \  |  _  |/ _` | '_ \ / _` | |/ _ \ '__| ##
## | |___>  < (_|  __/ |_) | |_| | (_) | | | | | | | | (_| | | | | (_| | |  __/ |    ##
## \____/_/\_\___\___| .__/ \__|_|\___/|_| |_| \_| |_/\__,_|_| |_|\__,_|_|\___|_|    ##
##                   | |                                                             ##
##                   |_|                                                             ##
#######################################################################################
#######################################################################################

# Have to use strings rather than integers
# https://github.com/rack/rack/blob/1.5.2/lib/rack/utils.rb#L544

# By default, exceptions will show their "response" code (404 = "Not Found")
# If you want to create custom messages, you have to assign the values as [response]: "message"

#######################################################################################
#######################################################################################

en:
  exception_handler:
    internal_server_error:  "<strong>%{status} Error</strong>  %{message} <p>Return home</p>"

#######################################################################################
#######################################################################################

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
exception_handler-0.7.6.0 config/locales/exception_handler.en.yml
exception_handler-0.7.5.15 config/locales/exception_handler.en.yml