public static function undefinedMethod($target, string $method): self
    {
        return new self(sprintf(
            'Method %s::%s() does not exist.',
            get_class($target),
            $method
        ));
    }