added error codes

error codes are now on version 0.4