Skip to content

Commit

Permalink
more explicit error
Browse files Browse the repository at this point in the history
Signed-off-by: Teo Koon Peng <[email protected]>
  • Loading branch information
koonpeng committed Jan 28, 2025
1 parent af073ff commit 7f1f49b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/diagram.rs
Original file line number Diff line number Diff line change
Expand Up @@ -645,8 +645,8 @@ pub enum DiagramErrorCode {
#[error(transparent)]
CannotTransform(#[from] TransformError),

#[error("box/unbox operation is not registered")]
CannotBox,
#[error("box/unbox operation for the message is not registered")]
CannotBoxOrUnbox,

#[error("one or more operation is missing inputs")]
IncompleteDiagram,
Expand Down

0 comments on commit 7f1f49b

Please sign in to comment.