Error usecase in example