Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsMyError (0.23 sec)

  1. test/fixedbugs/issue35739.dir/b.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package b
    
    import "./a"
    
    func F(err error) bool {
    	return a.IsMyError(err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 13 22:50:26 UTC 2020
    - 237 bytes
    - Viewed (0)
  2. test/fixedbugs/issue35739.dir/a.go

    // license that can be found in the LICENSE file.
    
    package a
    
    type myError string
    
    func (e myError) Error() string { return string(e) }
    
    const myErrorVal myError = "error"
    
    func IsMyError(err error) bool {
    	return err == error(myErrorVal)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 13 22:50:26 UTC 2020
    - 350 bytes
    - Viewed (0)
Back to top