using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("VRC.SDK3A.Editor")]
[assembly: InternalsVisibleTo("VRC.SDK3.Editor")]
namespace VRC.SDKBase.Editor
{
///
/// An internal SDK Builder error has occured
///
public class BuilderException : Exception
{
public BuilderException(string message) : base(message)
{
}
public BuilderException(string message, Exception innerException) : base(message, innerException)
{
}
}
///
/// Build was blocked by the SDK
///
public class BuildBlockedException : Exception
{
public BuildBlockedException(string message) : base(message)
{
}
}
///
/// Content has validation errors
///
public class ValidationException : Exception
{
///
/// List of validation errors
///
public List Errors = new List();
public ValidationException(string message) : base(message)
{
}
public ValidationException(string message, List errors) : base(message)
{
Errors = errors;
}
}
///
/// Current user does not own the target content
///
public class OwnershipException : Exception
{
public OwnershipException(string message) : base(message)
{
}
}
///
/// An error has occured during the upload process
///
public class UploadException : Exception
{
public UploadException(string message) : base(message)
{
}
public UploadException(string message, Exception innerException) : base(message, innerException)
{
}
}
///
/// This bundle has already been uploaded
///
public class BundleExistsException : Exception
{
public BundleExistsException(string message) : base(message)
{
}
}
///
/// The user has not confirmed copyright ownership
///
public class CopyrightOwnershipAgreementException : Exception
{
public CopyrightOwnershipAgreementException(string message) : base(message)
{
}
}
}