mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
350 B
15 lines
350 B
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); |
|
}
|
|
|