badCaseException method
Implementation
StoryException badCaseException(ValueType targetType) {
return StoryException(
"Can't cast $valueObject from $valueType to $targetType");
}
StoryException badCaseException(ValueType targetType) {
return StoryException(
"Can't cast $valueObject from $valueType to $targetType");
}