Skip to content

2.13 refinement/explanation #328

Closed
Closed
@anthonyvdotbe

Description

@anthonyvdotbe

§2.13 says:

[...] the caller MUST raise this error condition in a fashion that is adequate for the runtime environment.

I've asked about this, and @viktorklang replied saying:

[...] instead of rethrowing the exception it should use whatever mechanisms provided to it, this may include things like logging.

This reply contains a vital point which I didn't get from reading the rule, namely that the caller should not rethrow the exception. To make this clear, I propose to add an additional phrase for this to the rule:

[...] the caller MUST guarantee violating exceptions are not propagated further up the call stack and MUST raise this error condition in a fashion that is adequate for the runtime environment.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions