Skip to content

Commit

Permalink
Remove source (for now)
Browse files Browse the repository at this point in the history
Signed-off-by: Miroslav Kovar <miroslav.kovar@absa.africa>
  • Loading branch information
mirgee committed Dec 5, 2022
1 parent 82dc4f8 commit f1b5bb7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
5 changes: 1 addition & 4 deletions agency_client/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ pub enum AgencyClientErrorKind {
pub struct AgencyClientError {
msg: String,
kind: AgencyClientErrorKind,
#[source]
source: Option<std::io::Error>,
}

impl fmt::Display for AgencyClientError {
Expand All @@ -108,8 +106,7 @@ impl AgencyClientError {
{
AgencyClientError {
msg: msg.to_string(),
kind,
source: None
kind
}
}

Expand Down
3 changes: 0 additions & 3 deletions aries_vcx/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,6 @@ pub enum VcxErrorKind {
pub struct VcxError {
msg: String,
kind: VcxErrorKind,
#[source]
source: Option<std::io::Error>,
}

impl fmt::Display for VcxError {
Expand All @@ -274,7 +272,6 @@ impl VcxError {
VcxError {
msg: msg.to_string(),
kind,
source: None
}
}

Expand Down
3 changes: 0 additions & 3 deletions messages/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,6 @@ pub enum MesssagesErrorKind {
pub struct MessagesError {
msg: String,
kind: MesssagesErrorKind,
#[source]
source: Option<std::io::Error>,
}

impl fmt::Display for MessagesError {
Expand All @@ -256,7 +254,6 @@ impl MessagesError {
MessagesError {
msg: msg.to_string(),
kind,
source: None
}
}

Expand Down

0 comments on commit f1b5bb7

Please sign in to comment.