code: func NewClass(name string, options ...ErrorOption) *ErrorClass {
  	return HierarchicalError.NewClass(name, options...)
  }
docs: // NewClass creates an error class with the provided name and options. Classes
  // generated from this method and not *ErrorClass.NewClass will descend from
  // the root HierarchicalError base class.