Skip to content

Error handling #5

@ddelventhal

Description

@ddelventhal

Currently we use many different methods of error handling:

  1. CorsikaIOException
  2. enum Status
  3. INFO, ERROR, FATAL

The main question for designing a error handling API is whether we need to recover from and error.
If we need to recover, we should probably use CorsikaIOException and use try{} as needed.
Otherwise we could just use an assert-like method that prints a message and aborts on error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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