xref: /Universal-ctags/Units/parser-thrift.r/exception.d/input-0.thrift (revision 3532d59142ccaeca9f031e3321f22acc80f28ca6)
1// Taken from https://freecontent.manning.com/apache-thrift-handling-exceptions/
2exception BadFish {
3  1: string       fish,       //The problem fish
4  2: i16          error_code, //The service specific error code
5}
6
7service TradeHistory {
8  double GetLastSale(1: string fish)
9    throws (1: BadFish bf),
10}
11
12