Firebase. Storage. StorageException
Represents an Exception resulting from an operation on aStorageReference
Summary
Inheritance
Inherits from: ExceptionPublic attributes | |||
|---|---|---|---|
ErrorBucketNotFound = -13011 | const intReturns | The specified bucket could not be found on the server. | |
ErrorCanceled = -13040 | const intReturns | The operation was canceled from the client. | |
ErrorInvalidChecksum = -13031 | const intReturns | There was an error validating the operation due to a checksum failure. | |
ErrorNotAuthenticated = -13020 | const intReturns | The given signin credentials are not valid. | |
ErrorNotAuthorized = -13021 | const intReturns | The given signin credentials are not allowed to perform this operation. | |
ErrorObjectNotFound = -13010 | const intReturns | The specified object could not be found on the server. | |
ErrorProjectNotFound = -13012 | const intReturns | The specified project could not be found on the server. | |
ErrorQuotaExceeded = -13013 | const intReturns | Free Tier quota has been exceeded. | |
ErrorRetryLimitExceeded = -13030 | const intReturns | The retry timeout was exceeded. | |
ErrorUnknown = -13000 | const intReturns | An unknown error has occurred. | |
Properties | |||
|---|---|---|---|
ErrorCode | intReturns | A code that indicates the type of error that occurred. | |
HttpResultCode | intReturns | the Http result code (if one exists) from a network operation. | |
IsRecoverableException | boolReturns | True if this request failed due to a network condition that may be resolved in a future attempt. | |
Public attributes
ErrorBucketNotFound
constintErrorBucketNotFound=-13011
| Details | |
|---|---|
| Returns | The specified bucket could not be found on the server. |
ErrorCanceled
constintErrorCanceled=-13040
| Details | |
|---|---|
| Returns | The operation was canceled from the client. |
ErrorInvalidChecksum
constintErrorInvalidChecksum=-13031
| Details | |
|---|---|
| Returns | There was an error validating the operation due to a checksum failure. |
ErrorNotAuthenticated
constintErrorNotAuthenticated=-13020
| Details | |
|---|---|
| Returns | The given signin credentials are not valid. |
ErrorNotAuthorized
constintErrorNotAuthorized=-13021
| Details | |
|---|---|
| Returns | The given signin credentials are not allowed to perform this operation. |
ErrorObjectNotFound
constintErrorObjectNotFound=-13010
| Details | |
|---|---|
| Returns | The specified object could not be found on the server. |
ErrorProjectNotFound
constintErrorProjectNotFound=-13012
| Details | |
|---|---|
| Returns | The specified project could not be found on the server. |
ErrorQuotaExceeded
constintErrorQuotaExceeded=-13013
| Details | |
|---|---|
| Returns | Free Tier quota has been exceeded. |
Change your pricing plan to avoid this error.
ErrorRetryLimitExceeded
constintErrorRetryLimitExceeded=-13030
| Details | |
|---|---|
| Returns | The retry timeout was exceeded. |
Check your network connection or increase the value of one ofFirebaseStorage.MaxDownloadRetryTimeFirebaseStorage.MaxUploadRetryTime orFirebaseStorage.MaxOperationRetryTime
ErrorUnknown
constintErrorUnknown=-13000
| Details | |
|---|---|
| Returns | An unknown error has occurred. |
See the inner exception orStorageException.HttpResultCode for more information.
Properties
ErrorCode
intErrorCode
| Details | |
|---|---|
| Returns | A code that indicates the type of error that occurred. |
This value will be one of the set of constants defined onStorageException.
HttpResultCode
intHttpResultCode
| Details | |
|---|---|
| Returns | the Http result code (if one exists) from a network operation. |
IsRecoverableException
boolIsRecoverableException
| Details | |
|---|---|
| Returns | True if this request failed due to a network condition that may be resolved in a future attempt. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-06-17 UTC.