Exception: Cognito::Client::Resource::Registry::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/cognito/client/resource.rb

Direct Known Subclasses

DuplicateTypeError, MissingError

Instance Method Summary collapse

Constructor Details

#initialize(type) ⇒ Error

Returns a new instance of Error.



91
92
93
# File 'lib/cognito/client/resource.rb', line 91

def initialize(type)
  super(format(self.class::MESSAGE, type: type))
end