| Exception | Description |
|---|---|
| CanvasException |
Base exception for errors arising while talking to Canvas.
|
| InvalidOauthTokenException |
Thrown if Canvas returns a 401 response with a WWW-Authenticate header present.
|
| ObjectNotFoundException |
Thrown if Canvas returns a 404 response.
|
| RateLimitException |
Thrown if Canvas returns a 403 Rate Limit Exceeded response.
|
| RetriableException |
Thrown if Canvas returns a retriable response, for example, a 504, Gateway Timeout.
|
| ThrottlingException |
Thrown if Canvas returns a 403 response in response to too many API requests
See https://canvas.instructure.com/doc/api/file.throttling.html
|
| UnauthorizedException |
Thrown if Canvas returns a 401 response without a WWW-Authenticate header.
|
Copyright © 2021 Kansas State University, Office of Mediated Education. All rights reserved.