Derive Macros§

  • Derives the ErrorInfo trait for an enum. It’s highly recommended to include a prefix on each variant, as the name is used to generate the code, which is ofter required to be unique.