propagate error
handle error in example app