Skip to content

UsernameAlreadyExistsException

Namespace: SlottyMedia.Backend.Exceptions.signup

This exception is thrown after an illegal attempt to sign up a user with an already existing username.

public class UsernameAlreadyExistsException : SlottyMedia.LoggingProvider.BaseException`1[[SlottyMedia.Backend.Exceptions.signup.UsernameAlreadyExistsException, SlottyMedia, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Runtime.Serialization.ISerializable

Inheritance ObjectException → BaseException<UsernameAlreadyExistsException> → UsernameAlreadyExistsException
Implements ISerializable

Properties

TargetSite

public MethodBase TargetSite { get; }

Property Value

MethodBase

Message

public string Message { get; }

Property Value

String

Data

public IDictionary Data { get; }

Property Value

IDictionary

InnerException

public Exception InnerException { get; }

Property Value

Exception

public string HelpLink { get; set; }

Property Value

String

Source

public string Source { get; set; }

Property Value

String

HResult

public int HResult { get; set; }

Property Value

Int32

StackTrace

public string StackTrace { get; }

Property Value

String

Constructors

UsernameAlreadyExistsException(String)

Build an exception with the given username.

public UsernameAlreadyExistsException(string username)

Parameters

username String
The illegally used username