FirebaseMessagingAdminException.fromServerError constructor

  1. @internal
FirebaseMessagingAdminException.fromServerError(
  1. DetailedApiRequestError error
)

Implementation

@internal
factory FirebaseMessagingAdminException.fromServerError(
  fmc1.DetailedApiRequestError error,
) {
  return FirebaseMessagingAdminException(
    MessagingClientErrorCode.fromCode(error.message),
  );
}