mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
12 lines
378 B
Go
12 lines
378 B
Go
package errors
|
|
|
|
func NewFsError(msg string) (err error) {
|
|
return NewError(ErrorPrefixFs, msg)
|
|
}
|
|
|
|
var ErrorFsForbidden = NewFsError("forbidden")
|
|
var ErrorFsEmptyWorkspacePath = NewFsError("empty workspace path")
|
|
var ErrorFsInvalidType = NewFsError("invalid type")
|
|
var ErrorFsAlreadyExists = NewFsError("already exists")
|
|
var ErrorFsInvalidContent = NewFsError("invalid content")
|