/// <summary>
 /// Initializes a new instance of <see cref="ReleasePreparationException"/>
 /// </summary>
 /// <param name="error">The error that occurred.</param>
 public ReleasePreparationException(ReleasePreparationError error) => this.Error = error;
 /// <summary>
 /// Initializes a new instance of <see cref="ReleasePreparationException"/>
 /// </summary>
 /// <param name="error">The error that occurred.</param>
 /// <param name="innerException">The inner exception.</param>
 public ReleasePreparationException(ReleasePreparationError error, Exception innerException)
     : base(null, innerException) => this.Error = error;