class Ya::API::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/api/direct/exception.rb, line 7 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/api/direct/exception.rb, line 13 def to_s "#{@error_str} : #{@error_detail} : #{@error_code}" end