describe: check error codes
Merge pull request #2736 from ethomson/describe_errorcode

describe: check error codes