Added preferredStyleSchemes getter error throwing

This commit is contained in:
Alexander Cerutti
2024-10-11 23:51:08 +02:00
parent 5a7ab94eed
commit 576ba15a39
2 changed files with 11 additions and 4 deletions

View File

@@ -16,8 +16,10 @@ export const TRANSIT_TYPE = {
} as const;
export const PREFERRED_STYLE_SCHEMES = {
UNEXPECTED_PASS_TYPE:
UNEXPECTED_PASS_TYPE_SET:
"Cannot set preferredStyleSchemes on a pass with type different from eventTicket.",
UNEXPECTED_PASS_TYPE_GET:
"Cannot get preferredStyleSchemes on a pass with type different from eventTicket.",
INVALID:
"Cannot set preferredStyleSchemes because not compliant with Apple specifications - %s",
} as const;