getStatusCode() )); } public static function fromPrevious(Exception $exception): self { return new self($exception->getMessage(), 0, $exception); } }