Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

errors.go 326B

12345678910
  1. package assert
  2. import (
  3. "errors"
  4. )
  5. // AnError is an error instance useful for testing. If the code does not care
  6. // about error specifics, and only needs to return the error for example, this
  7. // error should be used to make the test code more readable.
  8. var AnError = errors.New("assert.AnError general error for testing")