ErrorInfo

public struct ErrorInfo : Codable

API 호출 시 발생하는 에러 정보입니다.

  • 에러 코드

    Declaration

    Swift

    public let code: ApiFailureReason
  • msg

    에러 메시지

    Declaration

    Swift

    public let msg: String
  • 사용자에게 API 호출에 필요한 동의를 받지 못하여 ApiFailureReason.InsufficientScope 에러가 발생한 경우 필요한 scope 목록이 내려옵니다. 이 scope 목록으로 추가 항목 동의 받기를 요청해야 합니다.

    Declaration

    Swift

    public let requiredScopes: [String]?