ErrorConverter constructor

ErrorConverter({
  1. Future<Response> onMethodNotAllowed(
    1. MethodNotAllowed
    )?,
  2. Future<Response> onUnmatchedTarget(
    1. UnmatchedTarget
    )?,
  3. Future<Response> onCollectionNotFound(
    1. CollectionNotFound
    )?,
  4. Future<Response> onResourceNotFound(
    1. ResourceNotFound
    )?,
  5. Future<Response> onRelationshipNotFound(
    1. RelationshipNotFound
    )?,
  6. Future<Response> onError(
    1. dynamic,
    2. StackTrace
    )?,
})

Implementation

ErrorConverter({
  this.onMethodNotAllowed,
  this.onUnmatchedTarget,
  this.onCollectionNotFound,
  this.onResourceNotFound,
  this.onRelationshipNotFound,
  this.onError,
});