-
Georges Racinet authored
This is an attempt to use a single, flexible, base class for errors encountered while dealing with PAAS APIs. Many, but not all interactions go through a transport layer (usually HTTP, can also be Git), which has its own, meaningful, set of error codes on top of potentially a different one in the payload. That's why we have a "main" `code` and an optional `transport_code` when distinction is useful. Similarly, `action_details` can be a HTTP request body, maybe something else, and in some cases, nothing. Typically, the caller would know what to expect in context, while an ultimate catcher in top loop wouldn't try to interpret too much.
cfcd857d023a