Creates a new ErrorData instance.
description is a human-readable description of the error. code is the numeric error code.
description
code
ErrorData({required this.description, required this.code});