Structure for error codes