Added ErrorCode.