Expand description
Error types for b2-client
Errors are divided into two types:
- ValidationError for data validation errors prior to sending a request to the B2 API. This is currently being split into multiple errors as appropriate:
- Error for errors returned by the Backblaze B2 API or the HTTP client.
Structs§
- B2Error
- An error response from the Backblaze B2 API.
- BadData
- Generic invalid data error.
- BadHeader
Name - Error type with information on invalid HTTP header name.
- Missing
Data
Enums§
- Bucket
Validation Error - Error type for invalid bucket names.
- Error
- Errors related to making B2 API calls.
- Error
Code - An error code from the B2 API.
- File
Name Validation Error - Error type for bad filenames.
- Lifecycle
Rule Validation Error - Error type from failure to validate a set of LifecycleRules.
- Validation
Error - Errors from validating B2 requests prior to making the request.
Type Aliases§
- Cors
Rule Validation Error - Error type for invalid CORS rule names.