ErrorData constructor

ErrorData({
  1. required String description,
  2. required int code,
})

Creates a new ErrorData instance.

description is a human-readable description of the error. code is the numeric error code.

Implementation

ErrorData({required this.description, required this.code});