error_code = $code; $this->status = (int) $status; $this->data = $data; } }