blob: 9104344bde7758ef35e8c4b7bd2f29215887dcaf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#======================================================================
# FILE: Error.py
# CREATOR: eric
#
# SPDX-FileCopyrightText: 2001, Eric Busboom <eric@civicknowledge.com>
# SPDX-FileCopyrightText: 2001, Patrick Lewis <plewis@inetarena.com>
#
# SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0
#
#
#
# SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0
#
#
#
#===========================================================
class LibicalError(Exception):
"Libical Error"
def __init__(self,str):
Exception.__init__(self,str)
def __str__(self):
return Exception.__str__(self)+"\nLibical errno: "+icalerror_perror()
|