Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL
 scala.util.Try
 See theTry companion class
 
 
 
  Attributes
  
   - 
    Companion
   
 
   - 
    class
   
 
   - 
    Source
   
 
   - 
    Try.scala
   
 
   - 
    Graph
   
 
   - 
    
     
     
     
    
    
   - 
    Supertypes
   
 
   - 
    
   
 
   - 
    Self type
   
 
   - 
    
   
 
  
 
 
 Members list
 
 
  
   
    
     
      
      
       
        
         
         
        
        
         
          
          
         
         
          
          
           
           
            
             Constructs a Try using the by-name parameter as a result value.
             
            
             
              
               Constructs a Try using the by-name parameter as a result value.
               The evaluation of r is attempted once.
               Any non-fatal exception is caught and results in a Failure that holds the exception. 
               
              
             Value parameters
             
              - 
               r
              
 
              - 
               
the result value to compute
               
             
             Attributes
             
              - 
               Returns
              
 
              - 
               
the result of evaluating the value, as a Success or Failure
               
              - 
               Source
              
 
              - 
               Try.scala