Added standard error codes on Gateway's generators