def resolve!(path, **kargs)
      uri, deps = resolve(path, **kargs)

      unless uri
        message = String.new("couldn't find file '#{path}'")

        if relative_path?(path) && kargs[:base_path]
          load_path, _ = paths_split(config[:paths], kargs[:base_path])
          message << " under '#{load_path}'"
        end

        message << " with type '#{kargs[:accept]}'" if kargs[:accept]

        load_paths = kargs[:load_paths] || config[:paths]
        message << "\nChecked in these paths: \n  #{ load_paths.join("\n  ") }"

        raise FileNotFound, message
      end

      return uri, deps
    end
def resolve!(path, **kargs)
      uri, deps = resolve(path, **kargs)

      unless uri
        message = String.new("couldn't find file '#{path}'")

        if relative_path?(path) && kargs[:base_path]
          load_path, _ = paths_split(config[:paths], kargs[:base_path])
          message << " under '#{load_path}'"
        end

        message << " with type '#{kargs[:accept]}'" if kargs[:accept]

        load_paths = kargs[:load_paths] || config[:paths]
        message << "\nChecked in these paths: \n  #{ load_paths.join("\n  ") }"

        raise FileNotFound, message
      end

      return uri, deps
    end
Public: Same as resolve() but raises a FileNotFound exception instead of
 nil if no assets are found.