Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for errRecover (0.1 sec)

  1. src/text/template/exec.go

    // error writing to its output. We strip the wrapper in errRecover.
    // Note that this is not an implementation of error, so it cannot escape
    // from the package as an error value.
    type writeError struct {
    	Err error // Original error.
    }
    
    func (s *state) writeError(err error) {
    	panic(writeError{
    		Err: err,
    	})
    }
    
    // errRecover is the handler that turns panics into returns from the top
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
Back to top