Package com.qtsurfer.api.sdk.errors
Class QTSAuthError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.qtsurfer.api.sdk.errors.QTSError
com.qtsurfer.api.sdk.errors.QTSAuthError
- All Implemented Interfaces:
Serializable
Thrown when the
authenticate() helper cannot mint a JWT — typically because
no API key was supplied (neither argument nor QTSURFER_APIKEY
environment variable), or the API key exchange returned 401 / a non-success
status from POST /v1/auth/token.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
QTSAuthError
-
QTSAuthError
-