class EndpointFlux::Exceptions::Base

Attributes

messages[RW]

Public Class Methods

new(messages = nil) click to toggle source
Calls superclass method
# File lib/endpoint_flux/exceptions/base.rb, line 6
def initialize(messages = nil)
  @messages = messages

  super("#{self.class.name}: [ #{messages.inspect}]")
end

Public Instance Methods

inspect() click to toggle source
# File lib/endpoint_flux/exceptions/base.rb, line 16
def inspect
  "#{self.class.name}: [ #{to_hash.inspect} ]"
end
to_hash() click to toggle source
# File lib/endpoint_flux/exceptions/base.rb, line 12
def to_hash
  raise NotImplementedError
end