mirror of
https://github.com/meshcore-dev/meshcore.js.git
synced 2026-04-20 22:13:49 +00:00
add error codes
This commit is contained in:
parent
a6aeab9027
commit
3ed5eca66b
1 changed files with 9 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue