ApiProvider._catchAll

If the given url path didn't match a function, it is passed to this function for further handling. By default, it throws a NoSuchFunctionException. Overriding it might be useful if you want to serve generic filenames or an opDispatch kind of thing. (opDispatch itself won't work because it's name argument needs to be known at compile time!)

Note that you can return Documents here as they implement the FileResource interface too.

class ApiProvider
FileResource
_catchAll
(
string path
)

Meta