AuthError¶
Import: import system.webapi.auth;
Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.
AuthError¶
Authentication failures carry stable codes without credential values.
constructor¶
Creates an error with a stable code such as EAUTH and a readable message. Neither should contain passwords, tokens, or other credentials.
code¶
Returns the stable machine code, such as EAUTH or EINVAL.
message¶
Returns the readable explanation of the failure.