// Generated by openapi-moonbit — DO NOT EDIT
// Spec SHA-256: 7e574664c0f434e52021e12f313a3266fd3175fe2ecddde4c0e0930549c72ba2

///|
/// Error taxonomy returned by all generated client operations.
#derive(Debug, Eq)
pub(all) suberror GolemError {
  /// Underlying HTTP transport failure.
  Transport(@runtime.TransportError)
  /// Response body or header failed to decode.
  Decode(status~ : Int32, message~ : String, body~ : String)
  /// Operation parameter could not be serialized.
  InvalidParam(name~ : String, message~ : String)
  /// Non-success HTTP status returned by the server.
  Api(status~ : Int32, body~ : String, parsed~ : @cjson.Json?)
  /// WebSocket upgrade or session error.
  WebSocket(@ws.WsError)
}