86 lines
2.7 KiB
C#
86 lines
2.7 KiB
C#
/*
|
|
* This file is part of SocialVoid.NET Project (https://github.com/Intellivoid/SocialVoid.NET).
|
|
* Copyright (c) 2021 SocialVoid.NET Authors.
|
|
*
|
|
* This library is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, version 3.
|
|
*
|
|
* This library is distributed in the hope that it will be useful, but
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this source code of library.
|
|
* If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
namespace SocialVoid.Errors.NetworkErrors
|
|
{
|
|
/// <summary>
|
|
/// This exception will be raised when there was an error while trying to
|
|
/// upload one or more files to the server.
|
|
/// <code> Since: v0.0.0 </code>
|
|
/// </summary>
|
|
public sealed class FileUploadErrorException : GeneralException
|
|
{
|
|
//-------------------------------------------------
|
|
#region Constant's Region
|
|
// some members here
|
|
#endregion
|
|
//-------------------------------------------------
|
|
#region static Properties Region
|
|
// some members here
|
|
#endregion
|
|
//-------------------------------------------------
|
|
#region Properties Region
|
|
/// <summary>
|
|
/// The <see cref="ErrorCodes.FileUploadError"/> error code
|
|
/// will be returned because there was an error while trying to
|
|
/// upload one or more files to the server.
|
|
/// <code> Since: v0.0.0 </code>
|
|
/// </summary>
|
|
public override ErrorCodes ErrorCode
|
|
{
|
|
get
|
|
{
|
|
return ErrorCodes.FileUploadError;
|
|
}
|
|
}
|
|
#endregion
|
|
//-------------------------------------------------
|
|
#region static field's Region
|
|
// some members here
|
|
#endregion
|
|
//-------------------------------------------------
|
|
#region field's Region
|
|
// some members here
|
|
#endregion
|
|
//-------------------------------------------------
|
|
#region static event field's Region
|
|
// some members here
|
|
#endregion
|
|
//-------------------------------------------------
|
|
#region event field's Region
|
|
// some members here
|
|
#endregion
|
|
//-------------------------------------------------
|
|
#region Constructor's Region
|
|
/// <summary>
|
|
/// Creates a new instance of <see cref="FileUploadErrorException"/>.
|
|
/// <code> Since: v0.0.0 </code>
|
|
/// </summary>
|
|
internal FileUploadErrorException(string message) : base(message)
|
|
{
|
|
;
|
|
}
|
|
#endregion
|
|
//-------------------------------------------------
|
|
#region Destructor's Region
|
|
// some members here
|
|
#endregion
|
|
//-------------------------------------------------
|
|
}
|
|
}
|