Constructs a new login exception with the given error message, which will be passed to the Agentry client.