zplCore.comzplCore.com

EpcError

public enum EpcError

Why an EPC could not be encoded or decoded (EpcException.Error).

Values

NameValueDescription
InvalidInput0The input is empty or not in the expected form.
InvalidElementString1The GS1 element string is invalid (format, check digit, characters; see the message).
MissingElement2A GS1 key the scheme needs is missing (e.g. (21) for an SGTIN).
InvalidCompanyPrefixLength3The GS1 Company Prefix length is missing or not 6 to 12 (4 and 5 are treated as 6, TDS §7.1).
InvalidFilter4The filter value is not 0 to 7.
GtinNotAllowed5TDS forbids this GTIN in an SGTIN (RCN-8, company internal or restricted circulation numbers, coupons, refund receipts, ISSN; TDS §7.3.3–7.3.8).
ValueOutOfRange6A serial, extension or asset reference does not fit the scheme (numeric only, no leading zero, value range, length).
InvalidCharacter7A character outside the set the scheme can encode (GS1 character set 82, TDS Table A-1).
InvalidDate8A date for DSGTIN+ is missing, ambiguous or invalid (TDS §14.5.3).
UnknownHeader9The binary encoding has a header that TDS does not assign, or a scheme this library does not decode.
Truncated10The binary encoding is shorter than the scheme needs.
InvalidBinary11A binary field holds a value TDS does not allow (partition 7, digits above 10^L, reserved bits not zero …).
InvalidHex12The hexadecimal string contains other characters than 0-9 A-F.
InvalidUri13The URI does not match the EPC URI grammar (TDS §6, §12).