public override string ToString() { return(new ReasonStringBuilder() .WithReasonType(GetType()) .WithInfo(nameof(Message), Message) .WithInfo(nameof(Metadata), string.Join("; ", Metadata)) .WithInfo(nameof(Reasons), ReasonFormat.ErrorReasonsToString(Reasons)) .Build()); }
protected override IReasonStringBuilder GetReasonStringBuilder() { return(base.GetReasonStringBuilder() .WithInfo(nameof(Reasons), ReasonFormat.ErrorReasonsToString(Reasons))); }