Sha256: 6b471d37cc7fc37db892b4e208e83e205512bb32d7ebdce533172617e530feac

Contents?: true

Size: 323 Bytes

Versions: 1

Compression:

Stored size: 323 Bytes

Contents

Rexception.configure do |config|
  # Layout file name to use for rendering error page.
  config.layout = 'application'

  # Directory name where you place error pages.
  config.errors_dir = 'errors_dir'

  # Pairs of custom exceptions and statuses.
  config.rescue_responses = {
    'CustomException' => :not_found
  }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rexception-0.1.0 lib/rexception/config.rb