// TODO: Put strings into the resources. // public LockReleaseFailException(object resource, LockReleaseFailReason reason, Exception innerException) : base( message : $"Lock release operation failed.{Environment.NewLine}\tResource:{Environment.NewLine}\t\t{resource}{Environment.NewLine}\tReason:{Environment.NewLine}\t\t{reason}.", innerException : innerException) { // _reason = reason; _resource = resource; }
public LockReleaseFailException(object resource, LockReleaseFailReason reason) : this(resource : resource, reason : reason, innerException : null) { }