Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 79 lines (59 sloc) 1.844 kB
43af879 * rudel-errors.el (new file): error data
jan authored
1 ;;; rudel-errors.el --- Error data used in Rudel
2 ;;
5386af8 @scymtym Added sanity check to rudel-{join, host}-session
authored
3 ;; Copyright (C) 2009, 2010 Jan Moringen
43af879 * rudel-errors.el (new file): error data
jan authored
4 ;;
5 ;; Author: Jan Moringen <scymtym@users.sourceforge.net>
5386af8 @scymtym Added sanity check to rudel-{join, host}-session
authored
6 ;; Keywords: rudel, errors, conditions
43af879 * rudel-errors.el (new file): error data
jan authored
7 ;; X-RCS: $Id:$
8 ;;
9 ;; This file is part of Rudel.
10 ;;
11 ;; Rudel is free software: you can redistribute it and/or modify it
12 ;; under the terms of the GNU General Public License as published by
13 ;; the Free Software Foundation, either version 3 of the License, or
14 ;; (at your option) any later version.
15 ;;
16 ;; Rudel is distributed in the hope that it will be useful, but
17 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 ;; General Public License for more details.
20 ;;
21 ;; You should have received a copy of the GNU General Public License
22 ;; along with Rudel. If not, see <http://www.gnu.org/licenses>.
23
24
25 ;;; Commentary:
26 ;;
27 ;; The following condition hierarchy is defined:
28 ;;
29 ;; error
5386af8 @scymtym Added sanity check to rudel-{join, host}-session
authored
30 ;; + rudel-error
31 ;; + rudel-incomplete-info
32 ;; + rudel-join-error
33 ;; + rudel-host-error
43af879 * rudel-errors.el (new file): error data
jan authored
34
35
36 ;;; History:
37 ;;
5386af8 @scymtym Added sanity check to rudel-{join, host}-session
authored
38 ;; 0.1 - Initial version
43af879 * rudel-errors.el (new file): error data
jan authored
39
40
41 ;;; Code:
42 ;;
43
5386af8 @scymtym Added sanity check to rudel-{join, host}-session
authored
44 ;; rudel-incomplete-info
45
46 (intern "rudel-incomplete-info")
47
48 (put 'rudel-incomplete-info 'error-conditions
49 '(error
50 rudel-error rudel-incomplete-info))
51
52 (put 'rudel-incomplete-info 'error-message
53 "Required properties missing in property list")
54
43af879 * rudel-errors.el (new file): error data
jan authored
55 ;; rudel-join-error
56
57 (intern "rudel-join-error")
58
59 (put 'rudel-join-error 'error-conditions
808cc77 * telepathy/rudel-telepathy.el (header): added file comment
jan authored
60 '(error
43af879 * rudel-errors.el (new file): error data
jan authored
61 rudel-error rudel-join-error))
62
808cc77 * telepathy/rudel-telepathy.el (header): added file comment
jan authored
63 (put 'rudel-join-error 'error-message
43af879 * rudel-errors.el (new file): error data
jan authored
64 "Could not join session")
65
66 ;; rudel-host-error
67
68 (intern "rudel-host-error")
69
70 (put 'rudel-host-error 'error-conditions
808cc77 * telepathy/rudel-telepathy.el (header): added file comment
jan authored
71 '(error
43af879 * rudel-errors.el (new file): error data
jan authored
72 rudel-error rudel-host-error))
73
808cc77 * telepathy/rudel-telepathy.el (header): added file comment
jan authored
74 (put 'rudel-host-error 'error-message
43af879 * rudel-errors.el (new file): error data
jan authored
75 "Could not host session")
76
77 (provide 'rudel-errors)
78 ;;; rudel-errors.el ends here
Something went wrong with that request. Please try again.