Source file src/os/error_plan9.go
1 // Copyright 2019 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package os 6 7 import "syscall" 8 9 type syscallErrorType = syscall.ErrorString 10 11 var errENOSYS = syscall.NewError("function not implemented") 12 var errERANGE = syscall.NewError("out of range") 13 var errENOMEM = syscall.NewError("cannot allocate memory") 14