Removed PKPass.pack to be async and moved an error to messages

This commit is contained in:
Alexander Cerutti
2021-10-17 13:53:19 +02:00
parent 1f8cce9ef6
commit 031133891d
3 changed files with 15 additions and 18 deletions

View File

@@ -78,6 +78,10 @@ export const BUNDLE = {
CLOSED: "Cannot add file. Bundle is closed.",
} as const;
export const PACK = {
INVALID: "Cannot pack passes. Only PKPass instances allowed",
} as const;
/**
* Creates a message with replaced values
* @param messageName