Exception: EOAT::Exception::EveApiError

Inherits:
EOATError
  • Object
show all
Defined in:
lib/eoat/exception.rb

Overview

All EveApi xml errors will be raise this error. It has a method that stores the error number.

See Also:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(number) ⇒ EveApiError

Returns a new instance of EveApiError.

Parameters:

  • number (Integer)

    the custom EVE API error number



43
44
45
# File 'lib/eoat/exception.rb', line 43

def initialize(number)
  @number = number
end

Instance Attribute Details

#numberObject (readonly)

Returns the value of attribute number.



40
41
42
# File 'lib/eoat/exception.rb', line 40

def number
  @number
end