CustomError constructor

CustomError({
  1. List<CustomErrorRule>? rules,
  2. List<String>? types,
})

Implementation

CustomError({
  this.rules,
  this.types,
});