Exception: Boar::Exceptions::ServerError

Inherits:
Error
  • Object
show all
Defined in:
lib/boar/exceptions.rb

Instance Attribute Summary

Attributes inherited from Error

#code

Instance Method Summary collapse

Methods inherited from Error

must_raise?

Constructor Details

#initialize(message) ⇒ ServerError

Returns a new instance of ServerError.



23
24
25
# File 'lib/boar/exceptions.rb', line 23

def initialize(message)
  super(500, message)
end