Changed default error message for invalid routes to use a boolean value for the errors value instead of being specified as text.