blob: b24d45349faa7b855d548069fb967d3bf155b2c6 [file] [log] [blame]
David K. Bainbridge528b3182017-01-23 08:51:59 -08001// Copyright 2014 Canonical Ltd.
2// Copyright 2014 Cloudbase Solutions SRL
3// Licensed under the LGPLv3, see LICENCE file for details.
4
5package utils
6
7// The following are strings/regex-es which match common Windows error messages
8// that may be returned in case of failed calls to the system.
9// Any extra leading/trailing regex-es are left to be added by the developer.
10const (
11 NoSuchUserErrRegexp = `No mapping between account names and security IDs was done\.`
12 NoSuchFileErrRegexp = `The system cannot find the (file|path) specified\.`
13 MkdirFailErrRegexp = `mkdir .*` + NoSuchFileErrRegexp
14)