gitlab.com/evatix-go/core@v1.3.55/chmodhelper/vars-errors.go (about) 1 package chmodhelper 2 3 import ( 4 "errors" 5 6 "gitlab.com/evatix-go/core/constants" 7 "gitlab.com/evatix-go/core/errcore" 8 "gitlab.com/evatix-go/core/internal/messages" 9 ) 10 11 var ( 12 rwxInstructionNilErr = errcore. 13 CannotBeNilType. 14 Error( 15 "rwx (...) - parsing failed", 16 "rwxInstruction / rwxOwnerGroupOther - given as nil") 17 18 failedToCompileVarWrapperToWrapper = errcore. 19 FailedToExecuteType. 20 Error( 21 messages.FailedToCompileChmodhelperVarWrapperToWrapper, 22 constants.EmptyString) 23 24 errHyphenedRwxLength = errors.New("length should be " + HyphenedRwxLengthString) 25 errFullRwxLengthWithoutHyphen = errors.New("length should be " + FullRwxLengthWithoutHyphenString) 26 )