Package org.openapitools.client.models
Class APIError
-
- All Implemented Interfaces:
public final class APIError
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumAPIError.CodeAPI error code
Values: internalError,accessKeyError,inputError,authFailed,duplicateUsername,rateLimited,notFound,notAllowed,eventNotSupported,channelFeatureNotSupported,messageTooLong,multipleNestingLevel,payloadTooBig,expiredToken,tokenNotValidYet,tokenUsedBeforeIat,invalidTokenSignature,customCommandEndpointMissing,customCommandEndpointEqualCallError,connectionIdNotFound,coolDown,queryChannelPermissionsMismatch,tooManyConnections,notSupportedInPushV1,moderationFailed,videoProviderNotConfigured,videoInvalidCallId,videoCreateCallFailed,appSuspended,videoNoDatacentersAvailable,videoJoinCallFailure,queryCallsPermissionsMismatch
-
Method Summary
Modifier and Type Method Description final IntegergetStatusCode()final APIError.CodegetCode()final List<Integer>getDetails()final StringgetDuration()final StringgetMessage()final StringgetMoreInfo()final Map<String, String>getExceptionFields()-
-
Constructor Detail
-
APIError
APIError(Integer statusCode, APIError.Code code, List<Integer> details, String duration, String message, String moreInfo, Map<String, String> exceptionFields)
- Parameters:
statusCode- Response HTTP status codecode- API error codedetails- Additional error-specific informationduration- Request durationmessage- Message describing an errormoreInfo- URL with additional informationexceptionFields- Additional error info
-
-
Method Detail
-
getStatusCode
final Integer getStatusCode()
-
getCode
final APIError.Code getCode()
-
getDetails
final List<Integer> getDetails()
-
getDuration
final String getDuration()
-
getMessage
final String getMessage()
-
getMoreInfo
final String getMoreInfo()
-
getExceptionFields
final Map<String, String> getExceptionFields()
-
-
-
-