Skip to content

[Consistency Review] BigInt::from_string should raise or add a @string.parse_bigint #3566

@hackwaly

Description

@hackwaly

Current behaviors

There's only BigInt::from_string, it will panic if input is malformed. It's impossible to catch if input is malformed.

Expected behaviors

We should have a @string.parse_bigint or make BigInt::from_string raises.

Justification

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions