Skip to content

Improve the error when importing files with right format but unsupported version #3553

@HugoKulesza

Description

@HugoKulesza

Describe the current behavior

For example, if a file in IIDM version 1.14 is loaded using a version of powsybl that does not support it (< 6.8.0), the error obtained will be "Unsupported file format or invalid file."

Describe the expected behavior

We should, if possible, clarify the errors in these kinds of cases, to have something like: "Unsupported version XXX for format YYY, maximum supported version : ZZZ.", to separate the "real" format errors from the "version" errors.

Describe the motivation

No response

Extra Information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Waiting for review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions