Improved error message when URL pattern doesn't match supported types.