fusego/errors.go

31 lines
984 B
Go
Raw Permalink Normal View History

// Copyright 2015 Google Inc. All Rights Reserved.
2015-03-04 00:27:42 +03:00
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
2015-02-27 00:57:18 +03:00
package fuse
2015-07-24 07:02:55 +03:00
import "syscall"
const (
// Errors corresponding to kernel error numbers. These may be treated
// specially by Connection.Reply.
2015-07-24 07:02:55 +03:00
EEXIST = syscall.EEXIST
EINVAL = syscall.EINVAL
EIO = syscall.EIO
2017-03-15 10:23:54 +03:00
ENOATTR = syscall.ENODATA
2015-07-24 07:02:55 +03:00
ENOENT = syscall.ENOENT
ENOSYS = syscall.ENOSYS
ENOTDIR = syscall.ENOTDIR
ENOTEMPTY = syscall.ENOTEMPTY
)