Firebase.Storage.StorageException

Represents an Exception resulting from an operation on aStorageReference

Summary

Inheritance

Inherits from: Exception

Public attributes

ErrorBucketNotFound = -13011
const int
Returns
The specified bucket could not be found on the server.
ErrorCanceled = -13040
const int
Returns
The operation was canceled from the client.
ErrorInvalidChecksum = -13031
const int
Returns
There was an error validating the operation due to a checksum failure.
ErrorNotAuthenticated = -13020
const int
Returns
The given signin credentials are not valid.
ErrorNotAuthorized = -13021
const int
Returns
The given signin credentials are not allowed to perform this operation.
ErrorObjectNotFound = -13010
const int
Returns
The specified object could not be found on the server.
ErrorProjectNotFound = -13012
const int
Returns
The specified project could not be found on the server.
ErrorQuotaExceeded = -13013
const int
Returns
Free Tier quota has been exceeded.
ErrorRetryLimitExceeded = -13030
const int
Returns
The retry timeout was exceeded.
ErrorUnknown = -13000
const int
Returns
An unknown error has occurred.

Properties

ErrorCode
int
Returns
A code that indicates the type of error that occurred.
HttpResultCode
int
Returns
the Http result code (if one exists) from a network operation.
IsRecoverableException
bool
Returns
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.