Firebase.FirebaseException

Exception thrown for any Task exception.

Summary

Each API has different error codes, so the error code should be looked up relative to the API that produced the Task.

Inheritance

Inherits from: Exception

Constructors and Destructors

FirebaseException()
Initializes a new FirebaseException.
FirebaseException(int errorCode)
Initializes a new FirebaseException, with the given error code.
FirebaseException(int errorCode, string message)
Initializes a new FirebaseException, with the given error code and message.
FirebaseException(int errorCode, string message, System.Exception inner)
Initializes a new FirebaseException, with the given error code, message, and a reference to the inner exception.

Properties

ErrorCode
int
Returns the API-defined non-zero error code.

Properties

ErrorCode

int ErrorCode

Returns the API-defined non-zero error code.

If the error code is 0, the error is with the Task itself, and not the API. See the exception message for more detail.

Public functions

FirebaseException

 FirebaseException()

Initializes a new FirebaseException.

FirebaseException

 FirebaseException(
  int errorCode
)

Initializes a new FirebaseException, with the given error code.

FirebaseException

 FirebaseException(
  int errorCode,
  string message
)

Initializes a new FirebaseException, with the given error code and message.

FirebaseException

 FirebaseException(
  int errorCode,
  string message,
  System.Exception inner
)

Initializes a new FirebaseException, with the given error code, message, and a reference to the inner exception.