Exception: Polyn::Errors::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Polyn::Errors::Error
- Defined in:
- lib/polyn/errors/error.rb
Overview
Polyn base error class.
Direct Known Subclasses
ConfigurationError, SchemaError, ValidationError, Polyn::Event::UnsupportedVersionError
Instance Method Summary collapse
-
#initialize(message = nil, code: 500) ⇒ Error
constructor
A new instance of Error.
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( = nil, code: 500) super() end |