Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephTLyons committed Dec 7, 2024
1 parent 56e1af8 commit fbea750
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/parse_error.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,7 @@ pub type ParseError {
/// program will crash.
OutOfIntRange(integer_string: String)

/// Represents an error when the parsed number cannot be represented as a
/// float.
/// Represents an error when the parsed number cannot be fit within the float
/// type.
OutOfFloatRange(float_string: String)
}
// TODO: Make sure error names are good and make sure docs are good
// TODO: In docs, for both targets, when float can't be held, it will emit an OutOfFloatRange error.

0 comments on commit fbea750

Please sign in to comment.