Sweeping refinements and formatting changes

This commit is contained in:
Jon-William Lewis
2016-02-15 11:24:57 -06:00
parent 86fb0d2019
commit 7085a46ef3
16 changed files with 133 additions and 137 deletions

21
errors.md Normal file
View 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 |