// // ContractError.cs // // Copyright (c) František Boháček. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Remora.Results; namespace NosSmooth.Core.Contracts; /// /// An error from contract. /// /// The error. /// The error. public record ContractError(TError Error) : ResultError($"Contract has returned an error {Error}.");