using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tango.Protobuf
{
///
/// Represents an compilation exception.
///
///
public class CompilerException : Exception
{
///
/// Gets the collection of compilation errors.
///
public List Issues { get; internal set; }
///
/// Initializes a new instance of the class.
///
public CompilerException()
{
Issues = new List();
}
public override string Message => this.ToString();
///
/// Returns a that represents this instance.
///
///
/// A that represents this instance.
///
public override string ToString()
{
return String.Join(Environment.NewLine, Issues);
}
}
}