Convert a generic error or HTTP response into a typed DypaiError subclass by inspecting the message, status, and error code.
Optional
Convert a generic error or HTTP response into a typed DypaiError subclass by inspecting the message, status, and error code.