Skip to main content

ErrorLogEntry

An error logged while validating a discount.

type ErrorLogEntry {
changeset: Int!
code: DiscountValidationError!
messages: [String!]!
timestamp: String!
}

Fields​

ErrorLogEntry.changeset ● Int! non-null scalar types​

The error log version the entry belongs to. Entries logged together share a changeset.

ErrorLogEntry.code ● DiscountValidationError! non-null enum types​

The error's code.

ErrorLogEntry.messages ● [String!]! non-null scalar types​

Messages describing the error.

ErrorLogEntry.timestamp ● String! non-null scalar types​

The date and time when the error was logged, in ISO 8601 format.

Member Of​

DiscountAgreement object ● DiscountApplication object