class LemonWay::LemonWayError

Constants

DIRECKIT_DOCUMENTATION_URL

Public Class Methods

new(error = {}) click to toggle source
Calls superclass method
# File lib/lemon_way/error.rb, line 23
def initialize(error = {})
  super(%(
    Code: #{error.try(:[], :code)}
    Message: #{error.try(:[], :msg)}
    Documentation: #{DIRECKIT_DOCUMENTATION_URL}
  ))
end