Exception: Registration::ServiceError

Inherits:
PkgError
  • Object
show all
Defined in:
src/lib/registration/exceptions.rb

Overview

Exception class for handling service errors

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, service) ⇒ ServiceError


32
33
34
35
# File 'src/lib/registration/exceptions.rb', line 32

def initialize(msg, service)
  super(msg)
  @service = service
end

Instance Attribute Details

#serviceObject (readonly)

Returns the value of attribute service


30
31
32
# File 'src/lib/registration/exceptions.rb', line 30

def service
  @service
end