status = $status; $this->code = $code; $this->message = $message; } public function __toString(): string { return "{$this->code} ({$this->status}): {$this->message}"; } }