error codes

Signed-off-by: stal <stal@zodiaclabs.org>