badCaseException method

StoryException badCaseException(
  1. ValueType targetType
)
inherited

Implementation

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