2018-02-02 20:54:05 +00:00
|
|
|
package zgrab2
|
|
|
|
|
|
|
|
import "errors"
|
|
|
|
|
2018-03-15 17:10:10 +00:00
|
|
|
// ErrMismatchedFlags is thrown if the flags for one module type are
|
|
|
|
// passed to an incompatible module type.
|
2018-02-02 20:54:05 +00:00
|
|
|
var ErrMismatchedFlags = errors.New("mismatched flag/module")
|
2018-03-15 17:10:10 +00:00
|
|
|
|
|
|
|
// ErrInvalidArguments is thrown if the command-line arguments invalid.
|
|
|
|
var ErrInvalidArguments = errors.New("invalid arguments")
|
|
|
|
|
|
|
|
// ErrInvalidResponse is returned when the server returns a syntactically-invalid response.
|
|
|
|
var ErrInvalidResponse = errors.New("invalid response")
|
|
|
|
|
|
|
|
// ErrUnexpectedResponse is returned when the server returns a syntactically-valid but unexpected response.
|
|
|
|
var ErrUnexpectedResponse = errors.New("unexpected response")
|