Package com.glideapi.exceptions
Class MagicAuthError
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.glideapi.exceptions.MagicAuthError
- All Implemented Interfaces:
Serializable
MagicAuth error matching the error structure from Go/Node SDKs
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMagicAuthError(String code, int status, String message) Create error with code, status, and messageMagicAuthError(Map<String, Object> errorResponse) Create error from server response -
Method Summary
Modifier and TypeMethodDescriptiongetCode()intbooleanCheck if error is retryablevoidsetDetails(Map<String, Object> details) voidsetRequestId(String requestId) toString()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
MagicAuthError
Create error with code, status, and message -
MagicAuthError
Create error from server response
-
-
Method Details