Custom error class for authentication-related errors.
Creates an instance of AuthError.
The error code prefixed with 'auth/'.
The original error object.
Optional
Custom error class for authentication-related errors.