chore: Add Twilio API v1.0 standards Error model
Feature: Add Error Response
TwilioServiceErrorResponse: description: The error response from a Twilio service. type: object required: - code - httpStatusCode - message - userError properties: code: description: The error code returned by the Twilio service. type: integer nullable: false message: description: A human-readable message describing the error. type: string nullable: false userError: description: Indicates whether the error is a user error (true) or a system error (false). type: boolean nullable: false httpStatusCode: description: The HTTP status code associated with the error. type: integer nullable: false params: description: Additional parameters related to the error. type: object additionalProperties: type: string nullable: false
APIException class is the same. The type of error will be decided on class level and appropriately an APIException object will be created.
Quality Gate failed
Failed conditions
62.9% Coverage on New Code (required ≥ 80%)
B Maintainability Rating on New Code (required ≥ A)
See analysis details on SonarQube Cloud
Catch issues before they fail your Quality Gate with our IDE extension
SonarQube for IDE