CustomErrorRuleResponse constructor

const CustomErrorRuleResponse({
  1. required Input<bool> isErrorType,
  2. required Input<String> selector,
})

Creates a new CustomErrorRuleResponse. isErrorType Mark this message as possible payload in error response. Otherwise, objects of this type will be filtered when they appear in error payload. selector Selects messages to which this rule applies. Refer to selector for syntax details.

Implementation

const CustomErrorRuleResponse({
  required this.isErrorType,
  required this.selector,
});