RegistrationError
Class: RegistrationError
Defined in: src/hooks/auth/useRegistration.ts:19
Error thrown when registration validation fails. Callers can use error.code with t(error.code) for translated messages.
Extends
Error
Constructors
Constructor
new RegistrationError(
code,message?):RegistrationError
Defined in: src/hooks/auth/useRegistration.ts:20
Parameters
code
message?
string
Returns
RegistrationError
Overrides
Error.constructor
Properties
code
readonlycode:RegistrationErrorCodeType
Defined in: src/hooks/auth/useRegistration.ts:21