add error codes

This commit is contained in:
liamcottle 2025-04-13 14:55:02 +12:00
parent a6aeab9027
commit 3ed5eca66b

View file

@ -83,6 +83,15 @@ class Constants {
NewAdvert: 0x8A, // when companion is set to manually add contacts
}
static ErrorCodes = {
UnsupportedCmd: 1,
NotFound: 2,
TableFull: 3,
BadState: 4,
FileIoError: 5,
IllegalArg: 6,
}
static AdvType = {
None: 0,
Chat: 1,