File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
packages/data-connect/src/core Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ export const Code = {
4040
4141/** An error returned by a DataConnect operation. */
4242export class DataConnectError extends FirebaseError {
43- /** The custom name for DataConnectError. */
43+ /** @internal */
4444 readonly name : string = 'DataConnectError' ;
4545
4646 /** @hideconstructor */
@@ -52,7 +52,7 @@ export class DataConnectError extends FirebaseError {
5252 /**
5353 * A custom error description.
5454 */
55- readonly message : string
55+ message : string
5656 ) {
5757 super ( code , message ) ;
5858
@@ -62,14 +62,15 @@ export class DataConnectError extends FirebaseError {
6262 Object . setPrototypeOf ( this , new . target . prototype ) ;
6363 }
6464
65+ /** @internal */
6566 toString ( ) : string {
6667 return `${ this . name } [code=${ this . code } ]: ${ this . message } ` ;
6768 }
6869}
6970
7071/** An error returned by a DataConnect operation. */
7172export class DataConnectOperationError extends DataConnectError {
72- /** The custom name for DataConnectOperationError. */
73+ /** @internal */
7374 readonly name : string = 'DataConnectOperationError' ;
7475
7576 /** The response received from the backend. */
You can’t perform that action at this time.
0 commit comments