8 lines
211 B
Swift
8 lines
211 B
Swift
/// Why a shop could not be opened.
|
|
public enum ShopError: Error, Equatable, Sendable {
|
|
/// The account already owns a shop.
|
|
case alreadyOwner
|
|
/// Another shop has the handle.
|
|
case handleTaken
|
|
}
|