Skip to content

Commit

Permalink
Rename Raises to Errant
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Apr 8, 2024
1 parent 44cd5e9 commit a126950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/schema.scala
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ object JsonRecord:
// def transform
// (value: Optional[Json], params: List[String])
// : Optional[Regex] raises RegexError =
// (erased invalidRegex: Raises[RegexError]) ?=>
// (erased invalidRegex: Errant[RegexError]) ?=>
// value.let(_.as[Text]).let: pattern =>
// Regex(pattern)

Expand Down

0 comments on commit a126950

Please sign in to comment.