Enum sway_libs::asset::errors::SetMetadataError
pub enum SetMetadataError {
/// Emitted when the metadata is an empty string.
EmptyString: (),
/// Emitted when the metadata is empty bytes.
EmptyBytes: (),
}
Expand description
Error log for when something goes wrong when setting metadata.
Variants
EmptyString: ()
Emitted when the metadata is an empty string.
EmptyBytes: ()
Emitted when the metadata is empty bytes.