Exception: Derailleur::ApplicationError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/derailleur/core/errors.rb

Overview

Errors raising in Derailleur are subclasses of StandardError. Basically, they have an http_status code. This is useful for the various errors handlers people may write.

Instance Method Summary collapse

Instance Method Details

#http_statusObject



7
8
9
# File 'lib/derailleur/core/errors.rb', line 7

def http_status
  500
end