FirebaseFunctionsException

public class FirebaseFunctionsException extends FirebaseException


The class for all Exceptions thrown by FirebaseFunctions.

Summary

Nested types

The set of error status codes that can be returned from a Callable HTTPS tigger.

Public methods

@NonNull FirebaseFunctionsException.Code

Gets the error code for the operation that failed.

@Nullable Object

Gets the details object, if one was included in the error response.

Inherited methods

From java.lang.Throwable
synchronized final void
synchronized Throwable
synchronized Throwable
String
String
StackTraceElement[]
synchronized final Throwable[]
synchronized Throwable
void
void
setStackTrace(StackTraceElement[] stackTrace)
String

Public fields

details

public final @Nullable Object details

Public methods

getCode

public @NonNull FirebaseFunctionsException.Code getCode()

Gets the error code for the operation that failed.

Returns
@NonNull FirebaseFunctionsException.Code

the code for the FirebaseFunctionsException

getDetails

public @Nullable Object getDetails()

Gets the details object, if one was included in the error response.

Returns
@Nullable Object

the object included in the "details" field of the response.