TimeoutError constructor

TimeoutError([
  1. String errorMessage = "A timeout occurred."
])

Constructs a new instance.

@param {string} errorMessage A descriptive error message.

Implementation

TimeoutError([String errorMessage = "A timeout occurred."])
    : this.message = errorMessage;