Let frontend handle error in example program instead of handling it