Skip to content

Option to handle errors gracefully instead of aborting #23

@bertfrees

Description

@bertfrees

It is a wish of some users to be able to get an output from a (valid) OBFL document regardless of whether there were issues during the conversion. If possible, a valid PEF should be returned, even if it's not the "correct" result, and another return value should indicate whether the PEF is "correct" or not.

It's important to make a distinction between unexpected errors (due to bugs in Dotify), validation errors and other errors. The new option would only have an effect on the last category.

Examples:

  • Not enough space in left or right page margin to render content
  • Not enough space in header or footer to render content
  • Not enough space to render a table with a lot of columns

(A lot more examples can be thought of. We should probably go through the whole code and categorize all the exceptions that are thrown.)

Some errors will be harder to handle gracefully than other. We don't need to handle them all but we should do a best effort.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions