Exception: Moxml::BackendError

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

Overview

Backend errors

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, backend) ⇒ BackendError

Returns a new instance of BackendError.



61
62
63
64
# File 'lib/moxml/errors.rb', line 61

def initialize(message, backend)
  @backend = backend
  super("#{message} (Backend: #{backend})")
end

Instance Attribute Details

#backendObject (readonly)

Returns the value of attribute backend.



59
60
61
# File 'lib/moxml/errors.rb', line 59

def backend
  @backend
end