Provides methods for obtaining default Catchers for possible DateTimeExceptions thrown by the underlying Java API.
Provides methods for obtaining default Catchers for possible DateTimeExceptions thrown by the underlying Java API.
import codes.reactive.scalatime._ // Obtain a TimeCatcher for all DateTimeExceptions val catchAllLocalDate = Catcher.all(_ => LocalDate()) // Use the catcher to recover from a parse error val recovered = LocalDate.parse(")()(@*@%@#%@#%)").recover(catchAllLocalDate)
Provides functionality relating to Exception handling, validation and control structures.
control.Catcher