public static function forProfile(string $name, ?\Throwable $previous = null): self
    {

        $example = self::getExample($name);
        $message = sprintf("Undefined profile: %s\n%s", $name, $example);

        return new static($message, $previous);
    }