storj.io/uplink@v1.13.0/private/eestream/common.go (about)

     1  // Copyright (C) 2019 Storj Labs, Inc.
     2  // See LICENSE for copying information.
     3  
     4  package eestream
     5  
     6  import (
     7  	"github.com/spacemonkeygo/monkit/v3"
     8  	"github.com/zeebo/errs"
     9  )
    10  
    11  var (
    12  	// Error is the default eestream errs class.
    13  	Error = errs.Class("eestream")
    14  
    15  	// QuiescentError is the class of errors returned when a stream is quiescent
    16  	// and should be restarted.
    17  	QuiescentError = errs.Class("quiescence")
    18  
    19  	mon = monkit.Package()
    20  )