ZygosoptiontryCatchSur cette pagetryCatch() tryCatch<A>(f): Option<A> Creates an Option by executing a function that may throw. Type Parameters A: A The value type. Parameters f: () => A The function to execute. Returns: Option<A> Some if successful, None if throws. Since 2.0.0