# getDefaultMessage method

String getDefaultMessage()

Returns the default error message for this error type.

## Implementation

    String getDefaultMessage() {
      switch (this) {
        case LivenessCheckError.cameraPermissionDenied:
          return 'Camera permission denied';
        case LivenessCheckError.cameraInitializationFailed:
          return 'Failed to initialize camera';
        case LivenessCheckError.noFaceDetected:
          return 'No face detected. Please position your face in the circle.';
        case LivenessCheckError.multipleFacesDetected:
          return 'Multiple faces detected. Only one person allowed.';
        case LivenessCheckError.imageBlurry:
          return 'Image too blurry. Hold device steady.';
        case LivenessCheckError.faceNotClear:
          return 'Hold still. Face features not clear.';
        case LivenessCheckError.moveCloserToCamera:
          return 'Move closer to camera or hold device steady.';
        case LivenessCheckError.poorLighting:
          return 'Poor lighting conditions.';
        case LivenessCheckError.photoCaptureFailed:
          return 'Failed to capture photo';
        case LivenessCheckError.processingTimeout:
          return 'Processing timeout. Please try again.';
        case LivenessCheckError.eyesClosed:
          return 'Please open your eyes.';
        case LivenessCheckError.unknownError:
          return 'An unknown error occurred';
      }
    }