Skip to content

Commit

Permalink
Export a couple of type aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelklishin committed Dec 15, 2024
1 parent bc99940 commit 7b27f18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/blocking_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ use serde::Serialize;
use serde_json::{json, Map, Value};
use std::fmt;

type HttpClientResponse = reqwest::blocking::Response;
type HttpClientError = Error<HttpClientResponse, StatusCode, reqwest::Error, Backtrace>;
pub type HttpClientResponse = reqwest::blocking::Response;
pub type HttpClientError = Error<HttpClientResponse, StatusCode, reqwest::Error, Backtrace>;

pub type Result<T> = std::result::Result<T, HttpClientError>;

Expand Down

0 comments on commit 7b27f18

Please sign in to comment.