1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
/* ipp-usb - HTTP reverse proxy, backed by IPP-over-USB connection to device
*
* Copyright (C) 2020 and up by Alexander Pevzner (pzz@apevzner.com)
* See LICENSE for license terms and conditions
*
* Common errors
*/
package main
import (
"errors"
)
var (
ErrLockIsBusy = errors.New("Lock is busy")
ErrNoMemory = errors.New("Not enough memory")
ErrShutdown = errors.New("Shutdown requested")
ErrBlackListed = errors.New("Device is blacklisted")
ErrInitTimedOut = errors.New("Device initialization timed out")
ErrUnusable = errors.New("Device doesn't implement print or scan service")
ErrNoIppUsb = errors.New("ipp-usb daemon not running")
ErrAccess = errors.New("Access denied")
)
|