class Ya::Direct::Exception

Attributes

error_code[R]
error_detail[R]
error_str[R]

Public Class Methods

new(error_detail, error_str, error_code) click to toggle source
# File lib/ya_direct_api/exception.rb, line 6
def initialize(error_detail, error_str, error_code)
  @error_detail = error_detail
  @error_str = error_str
  @error_code = error_code
end

Public Instance Methods

to_s() click to toggle source
# File lib/ya_direct_api/exception.rb, line 12
def to_s
  "#{@error_str} : #{@error_detail} : #{@error_code}"
end