Exception: Telnyx::APIError

Inherits:
TelnyxError show all
Defined in:
lib/telnyx/errors.rb

Overview

APIError is a generic error that may be raised in cases where none of the other named errors cover the problem. It could also be raised in the case that a new error has been introduced in the API, but this version of the Ruby SDK doesn’t know how to handle it.

Constant Summary collapse

STATUS_CODE =
500

Instance Attribute Summary

Attributes inherited from TelnyxError

#errors, #http_body, #http_headers, #http_status, #json_body, #request_id, #response

Method Summary

Methods inherited from TelnyxError

#error_count, #initialize, #message, #other_errors_message, #stringify_errors, #stringify_hash, #to_s

Constructor Details

This class inherits a constructor from Telnyx::TelnyxError