custom_error
custom_error copied to clipboard
Allow tuples
Something like this would be nice:
custom_error!{pub Error
EmptyCollection(&'static str) = "empty collection error: {0}",
PackingFailed(&'static str) = "image packing error: {0}",
}