URL invalid change can transition to error handler

An Invalid URL is a common case on web applications. This is a simple implementation to enter an `error` state when its handler is available. Otherwise, it threw an exception.