Error Result
class ErrorResult<T : ReflectionChecker.ReflectionCheck, E : Class<out Throwable>>(val check: T, val throwable: ReflectionCheckReply.ErrorResult.ThrowableResultType<E>) : ReflectionCheckReply.ReflectionCheckResult<T>
Any error result will be in its own class, as there will not be any return values included in this lot.
Types
Link copied to clipboard
The throwable result types notify the user whether the throwable was caught during the construction of the reflection check where it looks up each class/field, or during the execution, where it looks up or assigns new values to properties. As the exceptions overlap, we need to distinguish the two types with a different wrapper.