Package-level declarations

Types

Link copied to clipboard
data class ErrorInfo(val reason: ErrorReason = Unknown, val status: Int = 0, val code: Int = 0, val message: String = "", val description: String = "")

Representation of an Error object.

Link copied to clipboard

Human readable error reason.

Link copied to clipboard

Marks declarations that are internal, which means that should not be used outside, because their signatures and semantics will change between future releases without any warnings and without providing any migration aids.

Link copied to clipboard
class TwilioException(val errorInfo: ErrorInfo, cause: Throwable? = null) : Exception

Exception class that contains ErrorInfo object with error details.