Return errors in example app