feat(): throw helpful error if controller function cannot be found

If a controller cannot be created with the given information, throw
a descriptive error.