Skip to content

Commit

Permalink
Ensure user knows OutOfIntRange is only for JavaScript target
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephTLyons committed Dec 7, 2024
1 parent bf516ab commit f5c858c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/parse_error.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ pub type ParseError {
/// This also implies that numbers that parse to `Infinity` and `-Infinity`,
/// on the JavaScript target, will emit this error.
///
/// Note that Erlang's max and min integer limits are not handled.
/// Note that Erlang's max and min integer limits are not handled. This error
/// is specific to the JavaScript target.
OutOfIntRange(integer_string: String)

/// Represents an error when the parsed number cannot be fit within the float
Expand Down

0 comments on commit f5c858c

Please sign in to comment.