I agree, it would be good to add more granularity to the error codes. Once this patch set is merged, I'll work on expanding the error codes.