Skip to content

Commit

Permalink
Match order of validation errors and checks
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Oct 19, 2023
1 parent 476aad3 commit b65b7e7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/fj-core/src/validate/shell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ pub enum ShellValidationError {
)]
CurveCoordinateSystemMismatch(Vec<CurveCoordinateSystemMismatch>),

/// [`Shell`] is not watertight
#[error("Shell is not watertight")]
NotWatertight,

/// [`Shell`] contains edges that are coincident, but not identical
#[error(
"`Shell` contains `Edge`s that are coincident but refer to different \
Expand Down Expand Up @@ -70,6 +66,10 @@ pub enum ShellValidationError {
surface_b: Handle<Surface>,
},

/// [`Shell`] is not watertight
#[error("Shell is not watertight")]
NotWatertight,

/// [`Shell`] contains faces of mixed orientation (inwards and outwards)
#[error("Shell has mixed face orientations")]
MixedOrientations,
Expand Down

0 comments on commit b65b7e7

Please sign in to comment.