AuthError constructor
Creates a new AuthError instance.
The code should be a machine-readable identifier.
The message should be user-friendly description.
The details parameter is optional and can contain additional context.
Implementation
AuthError({
required this.code,
required this.message,
this.details,
});