Exception: Openpix::RubySdk::Resources::NotImplementedError
- Inherits:
-
StandardError
- Object
- StandardError
- Openpix::RubySdk::Resources::NotImplementedError
- Defined in:
- lib/openpix/ruby_sdk/resources/resource.rb
Overview
Error returned when the required method is not implemented in the class child class
Instance Method Summary collapse
-
#initialize(msg: nil, method: 'nil') ⇒ NotImplementedError
constructor
A new instance of NotImplementedError.
Constructor Details
#initialize(msg: nil, method: 'nil') ⇒ NotImplementedError
Returns a new instance of NotImplementedError.
15 16 17 18 19 |
# File 'lib/openpix/ruby_sdk/resources/resource.rb', line 15 def initialize(msg: nil, method: 'nil') super(msg) if msg.present? super("#{method} not implemented") end |