File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
storage/src/implementation Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -8018,7 +8018,7 @@ declare namespace firebase.storage {
8018
8018
}
8019
8019
8020
8020
/**
8021
- * Error codes that can be attached to `StorageError`s .
8021
+ * Error codes that can be attached to `StorageError` objects .
8022
8022
*/
8023
8023
export enum StorageErrorCode {
8024
8024
UNKNOWN = 'unknown' ,
@@ -8053,7 +8053,7 @@ declare namespace firebase.storage {
8053
8053
*/
8054
8054
export interface FirebaseStorageError extends FirebaseError {
8055
8055
/**
8056
- * Stores custom error data unque to StorageError.
8056
+ * Stores custom error data unique to the ` StorageError` .
8057
8057
*/
8058
8058
customData : {
8059
8059
serverResponse : string | null ;
@@ -8062,7 +8062,7 @@ declare namespace firebase.storage {
8062
8062
get status ( ) : number ;
8063
8063
set status ( status : number ) ;
8064
8064
/**
8065
- * Compares a StorageErrorCode against this error's code, filtering out the prefix.
8065
+ * Compares a ` StorageErrorCode` against this error's code, filtering out the prefix.
8066
8066
*/
8067
8067
_codeEquals ( code : StorageErrorCode ) : boolean ;
8068
8068
/**
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ export enum StorageErrorCode {
127
127
128
128
export interface FirebaseStorageError extends FirebaseError {
129
129
/**
130
- * Stores custom error data unque to StorageError.
130
+ * Stores custom error data unique to the ` StorageError` .
131
131
*/
132
132
customData : {
133
133
serverResponse : string | null ;
@@ -136,7 +136,7 @@ export interface FirebaseStorageError extends FirebaseError {
136
136
get status ( ) : number ;
137
137
set status ( status : number ) ;
138
138
/**
139
- * Compares a StorageErrorCode against this error's code, filtering out the prefix.
139
+ * Compares a ` StorageErrorCode` against this error's code, filtering out the prefix.
140
140
*/
141
141
_codeEquals ( code : StorageErrorCode ) : boolean ;
142
142
/**
Original file line number Diff line number Diff line change @@ -26,12 +26,12 @@ import { CONFIG_STORAGE_BUCKET_KEY } from './constants';
26
26
export class StorageError extends FirebaseError {
27
27
private readonly _baseMessage : string ;
28
28
/**
29
- * Stores custom error data unque to StorageError.
29
+ * Stores custom error data unique to the ` StorageError` .
30
30
*/
31
31
customData : { serverResponse : string | null } = { serverResponse : null } ;
32
32
33
33
/**
34
- * @param code - A StorageErrorCode string to be prefixed with 'storage/' and
34
+ * @param code - A ` StorageErrorCode` string to be prefixed with 'storage/' and
35
35
* added to the end of the message.
36
36
* @param message - Error message.
37
37
* @param status_ - Corresponding HTTP Status Code
@@ -56,7 +56,7 @@ export class StorageError extends FirebaseError {
56
56
}
57
57
58
58
/**
59
- * Compares a StorageErrorCode against this error's code, filtering out the prefix.
59
+ * Compares a ` StorageErrorCode` against this error's code, filtering out the prefix.
60
60
*/
61
61
_codeEquals ( code : StorageErrorCode ) : boolean {
62
62
return prependCode ( code ) === this . code ;
@@ -83,7 +83,7 @@ export const errors = {};
83
83
84
84
/**
85
85
* @public
86
- * Error codes that can be attached to `StorageError`s .
86
+ * Error codes that can be attached to `StorageError` objects .
87
87
*/
88
88
export enum StorageErrorCode {
89
89
// Shared between all platforms
You can’t perform that action at this time.
0 commit comments