Files
ersatztv/ErsatzTV.Core/BaseError.cs
T
Jason DoveandGitHub 1ab98578ab refactor namespaces and imports (#670)
* re-namespace

* optimize usings

* more usings

* more of the same

* more implicit/global usings

* cleanup all usings

* minor fixes
2022-03-03 15:36:07 -06:00

15 lines
349 B
C#

namespace ErsatzTV.Core;
public class BaseError : NewType<BaseError, string>
{
public BaseError(string value) : base(value)
{
}
public static implicit operator BaseError(string str) => New(str);
}
public static class ErrorExtensions
{
public static BaseError Join(this Seq<BaseError> errors) => string.Join("; ", errors);
}