Map an openapi-fetch (or similar) response to a Result. Supply toError to build your domain error (e.g. PrintrApiError).
toError
PrintrApiError
Map an openapi-fetch (or similar) response to a Result. Supply
toErrorto build your domain error (e.g.PrintrApiError).