Error checking for invalid path parameter
Implement MatchFunc and CatchFunc