# LivenessCheckErrorInfo constructor

LivenessCheckErrorInfo({

1. required LivenessCheckError errorType,
2. required String message,
3. String? technicalDetails,
4. DateTime? timestamp,

})

Creates a liveness check error info object.

The `errorType` and `message` are required. The `technicalDetails` and `timestamp` are optional, with timestamp defaulting to the current time.

## Implementation

    LivenessCheckErrorInfo({
      required this.errorType,
      required this.message,
      this.technicalDetails,
      DateTime? timestamp,
    }) : timestamp = timestamp ?? DateTime.now();