FirebaseAuthAdminException constructor

const FirebaseAuthAdminException({
  1. required String code,
  2. required String message,
  3. String? serverCode,
  4. int? httpStatus,
})

Creates an exception with the Admin SDK style code (for example user-not-found) and a message. The package creates them; you need this only for tests.

Implementation

const FirebaseAuthAdminException({
  required super.code,
  required super.message,
  super.serverCode,
  super.httpStatus,
}) : super(plugin: 'auth');