class WolfCore::ServiceException
def initialize(error)
def initialize(error) @error = OpenStruct.new( { message: 'error' }.merge(error) ) super(@error[:message]) end
def initialize(error) @error = OpenStruct.new( { message: 'error' }.merge(error) ) super(@error[:message]) end