go.uber.org/yarpc@v1.72.1/encoding/thrift/internal/observabilitytest/test.thrift (about)

     1  exception ExceptionWithCode {
     2      1: required string val
     3  } (
     4      rpc.code = "DATA_LOSS" // server error
     5  )
     6  
     7  exception ExceptionWithoutCode {
     8      1: required string val
     9  }
    10  
    11  service TestService  {
    12      string Call(1: required string key) throws (
    13        1: ExceptionWithCode exCode,
    14        2: ExceptionWithoutCode exNoCode,
    15      )
    16  }