github.com/juju/juju@v0.0.0-20240430160146-1752b71fcf00/state/errors/storage.go (about) 1 // Copyright 2020 Canonical Ltd. 2 // Licensed under the AGPLv3, see LICENCE file for details. 3 4 package errors 5 6 import ( 7 "github.com/juju/errors" 8 ) 9 10 const ( 11 // StorageAttachedError reports whether or not the given error was caused 12 // by an operation on storage that should not be, but is, attached. 13 StorageAttachedError = errors.ConstError("storage is attached") 14 )