module Plivo::Exceptions
The exceptions module that helps in passing on errors to the user in a better way.
Constants
- AuthenticationError
This will be raised when there is an an error authenticating the request.
It is because there were no authentication credentials found or passed or the auth credentials that were found or passed were incorrect.
- InvalidRequestError
This will be raised when one or more parameters passed to
Plivo
servers is invalid.More specific error message will be displayed wherever possible.
- PlivoRESTError
This is Plivo’s base error and will be raised when there is an unknown error that is not covered by other errors.
- PlivoServerError
This will be raised when there is a server error on the
Plivo
end.This is rarely encountered. You might want to catch this error and retry the request if needed.
If retrying doesn’t help, please contact support.plivo.com immediately.
- PlivoXMLError
This will be raised when there is an
XML
generation error.Usually, the reason why this error is raised will be included.
- ResourceNotFoundError
This will be raised when there is an authentication error
- ValidationError
This will be raised when A parameter is missing or is invalid while accessing resource.