mirror of
https://github.com/jakobadam/RDSFactor.git
synced 2025-07-26 03:08:15 +02:00
SMS sending
This commit is contained in:
parent
5b7c38ee96
commit
f886f3af72
9 changed files with 91 additions and 34 deletions
9
server/exceptions/MissingEmail.vb
Normal file
9
server/exceptions/MissingEmail.vb
Normal file
|
@ -0,0 +1,9 @@
|
|||
Public Class MissingEmail
|
||||
|
||||
Inherits Exception
|
||||
|
||||
Public Sub New(ByVal user As String)
|
||||
MyBase.New("User: " & user & " has no email")
|
||||
End Sub
|
||||
|
||||
End Class
|
9
server/exceptions/MissingLdapField.vb
Normal file
9
server/exceptions/MissingLdapField.vb
Normal file
|
@ -0,0 +1,9 @@
|
|||
Public Class MissingLdapField
|
||||
|
||||
Inherits Exception
|
||||
|
||||
Public Sub New(field As String, username As String)
|
||||
MyBase.New("No " & field & " entry in LDAP for " & username)
|
||||
End Sub
|
||||
|
||||
End Class
|
9
server/exceptions/MissingNumber.vb
Normal file
9
server/exceptions/MissingNumber.vb
Normal file
|
@ -0,0 +1,9 @@
|
|||
Public Class MissingNumber
|
||||
|
||||
Inherits Exception
|
||||
|
||||
Public Sub New(ByVal user As String)
|
||||
MyBase.New("User: " & user & " has no mobile number")
|
||||
End Sub
|
||||
|
||||
End Class
|
9
server/exceptions/SMSSendException.vb
Normal file
9
server/exceptions/SMSSendException.vb
Normal file
|
@ -0,0 +1,9 @@
|
|||
Public Class SMSSendException
|
||||
|
||||
Inherits Exception
|
||||
|
||||
Public Sub New(ByVal message As String)
|
||||
MyBase.New("SMS send error: " & message)
|
||||
End Sub
|
||||
|
||||
End Class
|
Loading…
Add table
Add a link
Reference in a new issue