Removed unused error code