Err returns the error, if any, encountered during the construction of the Graph managed by s. Once Err returns a non-nil error, all future calls will do the same, indicating that the scope should be discarded as the graph could not be constructed.
()
| 157 | // indicating that the scope should be discarded as the graph could not |
| 158 | // be constructed. |
| 159 | func (s *Scope) Err() error { |
| 160 | return s.err.err |
| 161 | } |
| 162 | |
| 163 | // UpdateErr is used to notify Scope of any graph construction errors |
| 164 | // while creating the operation op. |
no outgoing calls