Exception: Polyn::Errors::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/polyn/errors/error.rb

Overview

Polyn base error class.

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, code: 500) ⇒ Error

Returns a new instance of Error.



8
9
10
# File 'lib/polyn/errors/error.rb', line 8

def initialize(message = nil, code: 500)
  super(message)
end