Skip to content

Slicing out of logical bounds returns unclear error #154

@BrianMichell

Description

@BrianMichell

If a user slices outside of the logical bounds the current error is not clear what the issue was.

It should be enhanced to display the bounds.

https://github.com/TGSAI/mdio-cpp/blob/838538df4bd796994e656126767b379d2ca7d904/mdio/variable.h#L1095C7-L1100C44

Metadata

Metadata

Assignees

Labels

ImprovementSomething could be betterdocumentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions