Skip to content

Null input throws unhandled exception in InputConverter #27

@JayPerfetto

Description

@JayPerfetto

You should add the following line to InputConverter before trying to parse the input as an int:

  if (str == null) return Left(InvalidInputFailure());

otherwise an unhandled exception is thrown that is not covered in your exception handling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions