CustomError constructor

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

Creates a new CustomError. rules The list of custom error rules that apply to individual API messages. NOTE: All service configuration rules follow "last one wins" order. types The list of custom error detail types, e.g. 'google.foo.v1.CustomError'.

Implementation

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