Exception: Kiyohime::Exceptions::RegistryError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/kiyohime/exceptions/registry_error.rb

Overview

This error is used to signal when the registry has an issue

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ RegistryError

Returns a new instance of RegistryError.



7
8
9
10
# File 'lib/kiyohime/exceptions/registry_error.rb', line 7

def initialize(message)
  @message = message
  super(message)
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



5
6
7
# File 'lib/kiyohime/exceptions/registry_error.rb', line 5

def message
  @message
end