Skip to content

Implement Error constricting functions #182

@calebbourg

Description

@calebbourg

Implement methods for constructing error structs for the various types of errors we define.

Current Usage:

  // Lines 64-67, 88-93, 167-170, 186-189
  Error {
      source: None,
      error_kind: DomainErrorKind::Internal(InternalErrorKind::Other(
          "Some error message".to_string(),
      )),
  }

Proposed Usage

Error::internal("At least one recipient is required")

Proposed in comment here

Metadata

Metadata

Assignees

No one assigned

    Labels

    RefactorRefactors part of the code

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions