Exception: ApiValve::Error
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- ApiValve::Error
- Defined in:
- lib/api_valve/error.rb
Constant Summary collapse
- Client =
Class.new(self)
- Server =
Class.new(self)
- NotRouted =
Class.new(self) do self.http_status = 404 end
Instance Method Summary collapse
-
#initialize(*args) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(*args) ⇒ Error
Returns a new instance of Error.
9 10 11 12 |
# File 'lib/api_valve/error.rb', line 9 def initialize(*args) = args. super(args.first || ) end |