APIError

public struct APIError

Represents an API error that occurs when interacting with the LINE Platform. If the LINE Platform returns an error in a known format, the error is parsed into an APIError object and thrown out. The error type is LineSDKError.responseFailed with .invalidHTTPStatusAPIError.

  • The error state received from the LINE Platform.

    Declaration

    Swift

    public let error: String
  • Detail of the error.

    Declaration

    Swift

    public let detail: String?