Open
Description
See #380 (comment).
Maybe we can add some API (to ObjectService
? somewhere else?) to keep track of human-friendly types, such as:
String friendlyType = objectService.getHumanFriendlyName(Type type); // e.g. RandomAccessibleInterval => "an image"
(falling back to "an object"
),
and then something like:
"This operation requires " + name + " of type " + type + "."
... to generate an error message such as:
This operation requires an image of type RandomAccessibleInterval.
Metadata
Metadata
Assignees
Labels
No labels