Sweeping refinements and formatting changes
This commit is contained in:
21
errors.md
Normal file
21
errors.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# Simple Note System, version 2
|
||||
## Error Code Reference
|
||||
|
||||
### General Codes
|
||||
| Name | Code | Meaning |
|
||||
|-------------|------|--------------------------------------|
|
||||
| ERR_NO_ARGS | 10 | No arguments were specified |
|
||||
| ERR_NO_OP | 20 | No operation was specified |
|
||||
| ERR_NO_NOTE | 30 | A required argument was not provided |
|
||||
|
||||
### Encryption-related codes
|
||||
|Name | Code | Meaning |
|
||||
|------------|------|-------------------------------------------------------|
|
||||
| ERR_NO_GPG | 100 | Encryption is enabled, but GPG is not installed |
|
||||
| ERR_NO_KEY | 110 | Encryption is enabled, but no recipient was specified |
|
||||
|
||||
### Creation-related codes
|
||||
|Name | Code | Meaning |
|
||||
|-----------------|------|-----------------------------------|
|
||||
| ERR_NOTE_EXiSTS | 200 | The specified note already exists |
|
||||
| ERR_NOTE_NO_READ| 205 | The specified note cannot be read |
|
||||
Reference in New Issue
Block a user