public static Error GetError(this ErrorType type) => Values.SingleOrDefault(error => error.Code == type.ToSerializationName());
public static Error GetError(this ErrorType type) => Values.SingleOrDefault(error => error.Code == type.ToSerializationName());