Skip to content

Usage of System.halt #5

@enragedginger

Description

@enragedginger

I recently started using this library to test out integration with MX Atrium. It looks like the library makes use of System.halt in a few different places to simply exit on error. Is there a reason for doing this instead of simply throwing an error or returning some kind of {:error, message} structure? I'm new to Elixir as well, so is this common practice?

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