Added license and updated error example.