Artifact 7f6142a7ac87b2dca4e2fd6b0c44775ec909bce5:
- File net2o-err.fs — part of check-in [76eb50714b] at 2014-06-28 00:26:40 on branch trunk — Started adding current object concept to net2o commands (user: bernd size: 2715)
0000: 5c 20 43 6f 70 79 72 69 67 68 74 20 28 43 29 20 \ Copyright (C) 0010: 32 30 31 30 2d 32 30 31 34 20 20 20 42 65 72 6e 2010-2014 Bern 0020: 64 20 50 61 79 73 61 6e 0a 0a 5c 20 54 68 69 73 d Paysan..\ This 0030: 20 70 72 6f 67 72 61 6d 20 69 73 20 66 72 65 65 program is free 0040: 20 73 6f 66 74 77 61 72 65 3a 20 79 6f 75 20 63 software: you c 0050: 61 6e 20 72 65 64 69 73 74 72 69 62 75 74 65 20 an redistribute 0060: 69 74 20 61 6e 64 2f 6f 72 20 6d 6f 64 69 66 79 it and/or modify 0070: 0a 5c 20 69 74 20 75 6e 64 65 72 20 74 68 65 20 .\ it under the 0080: 74 65 72 6d 73 20 6f 66 20 74 68 65 20 47 4e 55 terms of the GNU 0090: 20 41 66 66 65 72 6f 20 47 65 6e 65 72 61 6c 20 Affero General 00a0: 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 20 61 Public License a 00b0: 73 20 70 75 62 6c 69 73 68 65 64 20 62 79 0a 5c s published by.\ 00c0: 20 74 68 65 20 46 72 65 65 20 53 6f 66 74 77 61 the Free Softwa 00d0: 72 65 20 46 6f 75 6e 64 61 74 69 6f 6e 2c 20 65 re Foundation, e 00e0: 69 74 68 65 72 20 76 65 72 73 69 6f 6e 20 33 20 ither version 3 00f0: 6f 66 20 74 68 65 20 4c 69 63 65 6e 73 65 2c 20 of the License, 0100: 6f 72 0a 5c 20 28 61 74 20 79 6f 75 72 20 6f 70 or.\ (at your op 0110: 74 69 6f 6e 29 20 61 6e 79 20 6c 61 74 65 72 20 tion) any later 0120: 76 65 72 73 69 6f 6e 2e 0a 0a 5c 20 54 68 69 73 version...\ This 0130: 20 70 72 6f 67 72 61 6d 20 69 73 20 64 69 73 74 program is dist 0140: 72 69 62 75 74 65 64 20 69 6e 20 74 68 65 20 68 ributed in the h 0150: 6f 70 65 20 74 68 61 74 20 69 74 20 77 69 6c 6c ope that it will 0160: 20 62 65 20 75 73 65 66 75 6c 2c 0a 5c 20 62 75 be useful,.\ bu 0170: 74 20 57 49 54 48 4f 55 54 20 41 4e 59 20 57 41 t WITHOUT ANY WA 0180: 52 52 41 4e 54 59 3b 20 77 69 74 68 6f 75 74 20 RRANTY; without 0190: 65 76 65 6e 20 74 68 65 20 69 6d 70 6c 69 65 64 even the implied 01a0: 20 77 61 72 72 61 6e 74 79 20 6f 66 0a 5c 20 4d warranty of.\ M 01b0: 45 52 43 48 41 4e 54 41 42 49 4c 49 54 59 20 6f ERCHANTABILITY o 01c0: 72 20 46 49 54 4e 45 53 53 20 46 4f 52 20 41 20 r FITNESS FOR A 01d0: 50 41 52 54 49 43 55 4c 41 52 20 50 55 52 50 4f PARTICULAR PURPO 01e0: 53 45 2e 20 20 53 65 65 20 74 68 65 0a 5c 20 47 SE. See the.\ G 01f0: 4e 55 20 41 66 66 65 72 6f 20 47 65 6e 65 72 61 NU Affero Genera 0200: 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 l Public License 0210: 20 66 6f 72 20 6d 6f 72 65 20 64 65 74 61 69 6c for more detail 0220: 73 2e 0a 0a 5c 20 59 6f 75 20 73 68 6f 75 6c 64 s...\ You should 0230: 20 68 61 76 65 20 72 65 63 65 69 76 65 64 20 61 have received a 0240: 20 63 6f 70 79 20 6f 66 20 74 68 65 20 47 4e 55 copy of the GNU 0250: 20 41 66 66 65 72 6f 20 47 65 6e 65 72 61 6c 20 Affero General 0260: 50 75 62 6c 69 63 20 4c 69 63 65 6e 73 65 0a 5c Public License.\ 0270: 20 61 6c 6f 6e 67 20 77 69 74 68 20 74 68 69 73 along with this 0280: 20 70 72 6f 67 72 61 6d 2e 20 20 49 66 20 6e 6f program. If no 0290: 74 2c 20 73 65 65 20 3c 68 74 74 70 3a 2f 2f 77 t, see <http://w 02a0: 77 77 2e 67 6e 75 2e 6f 72 67 2f 6c 69 63 65 6e ww.gnu.org/licen 02b0: 73 65 73 2f 3e 2e 0a 0a 5c 20 64 65 66 69 6e 65 ses/>...\ define 02c0: 64 20 65 78 63 65 70 74 69 6f 6e 73 0a 0a 3a 20 d exceptions..: 02d0: 74 68 72 6f 77 63 6f 64 65 20 28 20 61 64 64 72 throwcode ( addr 02e0: 20 75 20 2d 2d 20 29 20 20 65 78 63 65 70 74 69 u -- ) excepti 02f0: 6f 6e 20 43 72 65 61 74 65 20 2c 0a 20 20 20 20 on Create ,. 0300: 5b 3a 20 3e 62 6f 64 79 20 40 20 3e 72 20 5d 5d [: >body @ >r ]] 0310: 20 49 46 20 5b 5b 20 72 3e 20 5d 5d 20 6c 69 74 IF [[ r> ]] lit 0320: 65 72 61 6c 20 74 68 72 6f 77 20 54 48 45 4e 20 eral throw THEN 0330: 5b 5b 20 3b 5d 20 73 65 74 2d 63 6f 6d 70 69 6c [[ ;] set-compil 0340: 65 72 0a 20 20 44 4f 45 53 3e 20 28 20 66 6c 61 er. DOES> ( fla 0350: 67 20 2d 2d 20 29 20 40 20 61 6e 64 20 74 68 72 g -- ) @ and thr 0360: 6f 77 20 3b 0a 0a 73 22 20 67 61 70 20 69 6e 20 ow ;..s" gap in 0370: 66 69 6c 65 20 68 61 6e 64 6c 65 73 22 20 20 20 file handles" 0380: 20 20 20 20 20 20 20 74 68 72 6f 77 63 6f 64 65 throwcode 0390: 20 21 21 67 61 70 21 21 0a 73 22 20 69 6e 76 61 !!gap!!.s" inva 03a0: 6c 69 64 20 66 69 6c 65 20 69 64 22 20 20 20 20 lid file id" 03b0: 20 20 20 20 20 20 20 20 20 20 74 68 72 6f 77 63 throwc 03c0: 6f 64 65 20 21 21 66 69 6c 65 69 64 21 21 0a 73 ode !!fileid!!.s 03d0: 22 20 63 6f 75 6c 64 20 6e 6f 74 20 73 65 6e 64 " could not send 03e0: 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 " 03f0: 74 68 72 6f 77 63 6f 64 65 20 21 21 73 65 6e 64 throwcode !!send 0400: 21 21 0a 73 22 20 77 72 6f 6e 67 20 70 61 63 6b !!.s" wrong pack 0410: 65 74 20 73 69 7a 65 22 20 20 20 20 20 20 20 20 et size" 0420: 20 20 20 20 74 68 72 6f 77 63 6f 64 65 20 21 21 throwcode !! 0430: 73 69 7a 65 21 21 0a 73 22 20 6e 6f 20 70 6f 77 size!!.s" no pow 0440: 65 72 20 6f 66 20 74 77 6f 22 20 20 20 20 20 20 er of two" 0450: 20 20 20 20 20 20 20 20 74 68 72 6f 77 63 6f 64 throwcod 0460: 65 20 21 21 70 6f 77 32 21 21 0a 73 22 20 75 6e e !!pow2!!.s" un 0470: 69 6d 70 6c 65 6d 65 6e 74 65 64 20 6e 65 74 32 implemented net2 0480: 6f 20 66 75 6e 63 74 69 6f 6e 22 20 74 68 72 6f o function" thro 0490: 77 63 6f 64 65 20 21 21 66 75 6e 63 74 69 6f 6e wcode !!function 04a0: 21 21 0a 73 22 20 74 6f 6f 20 6d 61 6e 79 20 63 !!.s" too many c 04b0: 6f 6d 6d 61 6e 64 73 22 20 20 20 20 20 20 20 20 ommands" 04c0: 20 20 20 20 74 68 72 6f 77 63 6f 64 65 20 21 21 throwcode !! 04d0: 63 6f 6d 6d 61 6e 64 73 21 21 0a 73 22 20 73 74 commands!!.s" st 04e0: 72 69 6e 67 20 64 6f 65 73 20 6e 6f 74 20 66 69 ring does not fi 04f0: 74 22 20 20 20 20 20 20 20 20 20 20 74 68 72 6f t" thro 0500: 77 63 6f 64 65 20 21 21 73 74 72 69 6e 67 66 69 wcode !!stringfi 0510: 74 21 21 0a 73 22 20 69 76 73 20 6d 75 73 74 20 t!!.s" ivs must 0520: 62 65 20 36 34 20 62 79 74 65 73 22 20 20 20 20 be 64 bytes" 0530: 20 20 20 20 20 74 68 72 6f 77 63 6f 64 65 20 21 throwcode ! 0540: 21 69 76 73 21 21 0a 73 22 20 6e 65 74 32 6f 20 !ivs!!.s" net2o 0550: 74 69 6d 65 64 20 6f 75 74 22 20 20 20 20 20 20 timed out" 0560: 20 20 20 20 20 20 20 20 74 68 72 6f 77 63 6f 64 throwcod 0570: 65 20 21 21 74 69 6d 65 6f 75 74 21 21 0a 73 22 e !!timeout!!.s" 0580: 20 6d 61 78 69 6d 75 6d 20 6e 65 73 74 69 6e 67 maximum nesting 0590: 20 72 65 61 63 68 65 64 22 20 20 20 20 20 20 74 reached" t 05a0: 68 72 6f 77 63 6f 64 65 20 21 21 6d 61 78 6e 65 hrowcode !!maxne 05b0: 73 74 21 21 0a 73 22 20 6e 65 73 74 69 6e 67 20 st!!.s" nesting 05c0: 73 74 61 63 6b 20 65 6d 70 74 79 22 20 20 20 20 stack empty" 05d0: 20 20 20 20 20 20 74 68 72 6f 77 63 6f 64 65 20 throwcode 05e0: 21 21 6d 69 6e 6e 65 73 74 21 21 0a 73 22 20 69 !!minnest!!.s" i 05f0: 6e 76 61 6c 69 64 20 6e 65 73 74 22 20 20 20 20 nvalid nest" 0600: 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 72 thr 0610: 6f 77 63 6f 64 65 20 21 21 6e 65 73 74 21 21 0a owcode !!nest!!. 0620: 73 22 20 69 6e 76 61 6c 69 64 20 74 6d 70 6e 65 s" invalid tmpne 0630: 73 74 22 20 20 20 20 20 20 20 20 20 20 20 20 20 st" 0640: 20 74 68 72 6f 77 63 6f 64 65 20 21 21 74 6d 70 throwcode !!tmp 0650: 6e 65 73 74 21 21 0a 73 22 20 63 6f 6f 6b 69 65 nest!!.s" cookie 0660: 20 72 65 63 69 65 76 65 64 20 74 77 69 63 65 22 recieved twice" 0670: 20 20 20 20 20 20 20 20 74 68 72 6f 77 63 6f 64 throwcod 0680: 65 20 21 21 64 6f 75 62 6c 65 2d 63 6f 6f 6b 69 e !!double-cooki 0690: 65 21 21 0a 73 22 20 63 6f 64 65 20 64 65 73 74 e!!.s" code dest 06a0: 69 6e 61 74 69 6f 6e 20 69 73 20 30 22 20 20 20 ination is 0" 06b0: 20 20 20 20 20 74 68 72 6f 77 63 6f 64 65 20 21 throwcode ! 06c0: 21 6e 6f 2d 64 65 73 74 21 21 0a 73 22 20 6e 6f !no-dest!!.s" no 06d0: 20 49 50 20 61 64 64 72 22 20 20 20 20 20 20 20 IP addr" 06e0: 20 20 20 20 20 20 20 20 20 20 20 20 74 68 72 6f thro 06f0: 77 63 6f 64 65 20 21 21 6e 6f 2d 61 64 64 72 21 wcode !!no-addr! 0700: 21 0a 73 22 20 61 62 73 6f 6c 75 74 65 20 70 61 !.s" absolute pa 0710: 74 68 20 6e 6f 74 20 61 6c 6c 6f 77 65 64 21 22 th not allowed!" 0720: 20 20 20 74 68 72 6f 77 63 6f 64 65 20 21 21 61 throwcode !!a 0730: 62 73 2d 70 61 74 68 21 21 0a 73 22 20 69 6e 76 bs-path!!.s" inv 0740: 61 6c 69 64 20 70 61 63 6b 65 74 20 64 65 73 74 alid packet dest 0750: 69 6e 61 74 69 6f 6e 22 20 20 20 74 68 72 6f 77 ination" throw 0760: 63 6f 64 65 20 21 21 69 6e 76 2d 64 65 73 74 21 code !!inv-dest! 0770: 21 0a 73 22 20 6b 65 79 2b 70 75 62 6b 65 79 20 !.s" key+pubkey 0780: 6d 75 73 74 20 62 65 20 33 32 20 62 79 74 65 73 must be 32 bytes 0790: 22 20 20 74 68 72 6f 77 63 6f 64 65 20 21 21 6b " throwcode !!k 07a0: 65 79 73 69 7a 65 21 21 0a 73 22 20 75 6e 6b 6e eysize!!.s" unkn 07b0: 6f 77 6e 20 6b 65 79 22 20 20 20 20 20 20 20 20 own key" 07c0: 20 20 20 20 20 20 20 20 20 20 74 68 72 6f 77 63 throwc 07d0: 6f 64 65 20 21 21 75 6e 6b 6e 6f 77 6e 2d 6b 65 ode !!unknown-ke 07e0: 79 21 21 0a 73 22 20 77 72 6f 6e 67 20 6b 65 79 y!!.s" wrong key 07f0: 22 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 " 0800: 20 20 20 20 20 74 68 72 6f 77 63 6f 64 65 20 21 throwcode ! 0810: 21 77 72 6f 6e 67 2d 6b 65 79 21 21 0a 73 22 20 !wrong-key!!.s" 0820: 6e 6f 20 6b 65 79 20 66 69 6c 65 22 20 20 20 20 no key file" 0830: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 68 th 0840: 72 6f 77 63 6f 64 65 20 21 21 6e 6f 6b 65 79 21 rowcode !!nokey! 0850: 21 0a 73 22 20 69 6e 76 61 6c 69 64 20 45 64 32 !.s" invalid Ed2 0860: 35 35 31 39 20 6b 65 79 22 20 20 20 20 20 20 20 5519 key" 0870: 20 20 20 74 68 72 6f 77 63 6f 64 65 20 21 21 6e throwcode !!n 0880: 6f 2d 65 64 2d 6b 65 79 21 21 0a 73 22 20 6e 6f o-ed-key!!.s" no 0890: 20 74 65 6d 70 6f 72 61 72 79 20 6b 65 79 22 20 temporary key" 08a0: 20 20 20 20 20 20 20 20 20 20 20 20 74 68 72 6f thro 08b0: 77 63 6f 64 65 20 21 21 6e 6f 2d 74 6d 70 6b 65 wcode !!no-tmpke 08c0: 79 21 21 0a 73 22 20 53 74 72 69 6e 67 20 73 74 y!!.s" String st 08d0: 61 63 6b 20 66 75 6c 6c 22 20 20 20 20 20 20 20 ack full" 08e0: 20 20 20 20 20 74 68 72 6f 77 63 6f 64 65 20 21 throwcode ! 08f0: 21 73 74 72 69 6e 67 2d 66 75 6c 6c 21 21 0a 73 !string-full!!.s 0900: 22 20 53 74 72 69 6e 67 20 73 74 61 63 6b 20 65 " String stack e 0910: 6d 70 74 79 22 20 20 20 20 20 20 20 20 20 20 20 mpty" 0920: 74 68 72 6f 77 63 6f 64 65 20 21 21 73 74 72 69 throwcode !!stri 0930: 6e 67 2d 65 6d 70 74 79 21 21 0a 73 22 20 4f 62 ng-empty!!.s" Ob 0940: 6a 65 63 74 20 73 74 61 63 6b 20 66 75 6c 6c 22 ject stack full" 0950: 20 20 20 20 20 20 20 20 20 20 20 20 74 68 72 6f thro 0960: 77 63 6f 64 65 20 21 21 6f 62 6a 65 63 74 2d 66 wcode !!object-f 0970: 75 6c 6c 21 21 0a 73 22 20 4f 62 6a 65 63 74 20 ull!!.s" Object 0980: 73 74 61 63 6b 20 65 6d 70 74 79 22 20 20 20 20 stack empty" 0990: 20 20 20 20 20 20 20 74 68 72 6f 77 63 6f 64 65 throwcode 09a0: 20 21 21 6f 62 6a 65 63 74 2d 65 6d 70 74 79 21 !!object-empty! 09b0: 21 0a 73 22 20 55 6e 6b 6e 6f 77 6e 20 63 72 79 !.s" Unknown cry 09c0: 70 74 6f 20 66 75 6e 63 74 69 6f 6e 22 20 20 20 pto function" 09d0: 20 20 20 74 68 72 6f 77 63 6f 64 65 20 21 21 75 throwcode !!u 09e0: 6e 6b 6e 6f 77 6e 2d 63 72 79 70 74 21 21 0a 73 nknown-crypt!!.s 09f0: 22 20 57 72 6f 6e 67 20 72 65 76 6f 63 61 74 69 " Wrong revocati 0a00: 6f 6e 20 73 65 63 72 65 74 22 20 20 20 20 20 20 on secret" 0a10: 74 68 72 6f 77 63 6f 64 65 20 21 21 6e 6f 74 2d throwcode !!not- 0a20: 6d 79 2d 72 65 76 73 6b 21 21 0a 73 22 20 6b 72 my-revsk!!.s" kr 0a30: 79 70 74 6f 20 6d 65 6d 20 72 65 71 75 65 73 74 ypto mem request 0a40: 20 74 6f 6f 20 62 69 67 22 20 20 20 74 68 72 6f too big" thro 0a50: 77 63 6f 64 65 20 21 21 6b 72 2d 73 69 7a 65 21 wcode !!kr-size! 0a60: 21 0a 73 22 20 73 65 63 72 65 74 20 73 74 6f 72 !.s" secret stor 0a70: 61 67 65 20 73 69 7a 65 20 77 72 6f 6e 67 22 20 age size wrong" 0a80: 20 20 20 74 68 72 6f 77 63 6f 64 65 20 21 21 73 throwcode !!s 0a90: 65 63 2d 73 69 7a 65 21 21 0a 0a ec-size!!..