Error

constructor(message: String, data: T? = null)

Parameters

T

The type of the data.