abstract fun getError(): Optional<Throwable!>!
Return Optional<Throwable!>!: an Optional containing the exception that made the simulation fail, or Optional#empty() in case the simulation is ongoing or has terminated successfully.
Optional
Optional#empty()