FashionIOException

class FashionIOException(val errorCode: Int, val errorMessages: List<String>, val requestId: String, val date: String) : Exception

Exception thrown when a backend request returns a non-success response. This exception contains detailed information about the error, including the error code, error messages, request ID, and timestamp.

Constructors

Link copied to clipboard
constructor(errorCode: Int, errorMessages: List<String>, requestId: String, date: String)

Properties

Link copied to clipboard

Timestamp of when the error occurred

Link copied to clipboard

The HTTP status code or custom error code returned by the backend

Link copied to clipboard

List of error messages describing what went wrong

Link copied to clipboard

Unique identifier for the failed request