Exception: Omnes::InvalidSubscriptionNameError

Inherits:
Error
  • Object
show all
Defined in:
lib/omnes/errors.rb

Overview

Raised when trying to set an invalid subscription identifier

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id:) ⇒ InvalidSubscriptionNameError

Returns a new instance of InvalidSubscriptionNameError.



125
126
127
128
# File 'lib/omnes/errors.rb', line 125

def initialize(id:)
  @id = id
  super(default_message)
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



123
124
125
# File 'lib/omnes/errors.rb', line 123

def id
  @id
end