package ru.nbch.credit_tracker.exceptions;

import lombok.Getter;
import ru.nbch.credit_tracker.enums.EnumKeyMessage;
import ru.nbch.credit_tracker.enums.XmlErrorFormat;

@Getter
public class SignalServerException extends SignalException {

  private final Exception cause;

  public SignalServerException(EnumKeyMessage errorMessage, XmlErrorFormat errorFormat, Exception cause) {
    super(errorMessage, errorFormat);
    this.cause = cause;
  }

}
