codes.reactive.scalatime

control

package control

Provides functionality relating to Exception handling, validation and control structures.

Source
package.scala
See also

control.Catcher

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. control
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. object Catcher

    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.

    Example:
    1. 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)

Inherited from AnyRef

Inherited from Any

Ungrouped