- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for error (0.17 sec)
-
doc/go_spec.html
</p> <h2 id="Errors">Errors</h2> <p> The predeclared type <code>error</code> is defined as </p> <pre> type error interface { Error() string } </pre> <p> It is the conventional interface for representing an error condition, with the nil value representing no error. For instance, a function to read data from a file might be defined:
HTML - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 26 00:39:16 GMT 2024 - 279.6K bytes - Viewed (0)