Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

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")