ApiError

class ApiError(val errorCode: String, val errorSummary: String?, val errorLink: String?, val errorId: String?, val errorCauses: List<String>?, httpStatusCode: HttpStatusCode) : DirectAuthenticationError.HttpError

An API-specific error that occurred during the direct authentication process.

https://developer.okta.com/docs/reference/api/error-codes/

Parameters

errorCode

A string representing the specific error code.

errorSummary

An optional summary of the error.

errorLink

An optional link to more information about the error.

errorId

An optional unique identifier for the error instance.

errorCauses

An optional list of causes for the error.

httpStatusCode

The HttpStatusCode associated with this error.

Constructors

Link copied to clipboard
constructor(errorCode: String, errorSummary: String?, errorLink: String?, errorId: String?, errorCauses: List<String>?, httpStatusCode: HttpStatusCode)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val httpStatusCode: HttpStatusCode