Exception: DefraRubyGovpay::GovpayApiError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/defra_ruby_govpay/api.rb

Overview

Custom error class to handle Govpay API errors

Instance Method Summary collapse

Constructor Details

#initialize(msg = "Govpay API error") ⇒ GovpayApiError

Returns a new instance of GovpayApiError.



9
10
11
# File 'lib/defra_ruby_govpay/api.rb', line 9

def initialize(msg = "Govpay API error")
  super
end