Error Code in adoption
- -1 : successful adoption
- 3 : the controller has replied with an invalid answer
- 4 : the proposed name is malformed, containing special characters ( '@' and '.')
- 8 : the certificate/signature send by the controller failed the verification
- 10 : the name submitted is already used by an active agent
- 12 : the controller cannot be contacted at the
- 21 : failure to download the law
- 22 : failure to parse the law: inproper format
- 23 : hashing failure: unable to compute the hash of the law
- 24 : preamble failure: the preamble of the law is invalid
- 25 : compilation failure: unable to compile the Java law
- 26 : generic, unspecified law failure
- 31 : authority generic failure
- 32 : failure to download a public key specified in an authority clause
- 33 : failure in computing the hash of the authority public key
- 34 : the law attempts to declare multiple authorities with the same public key hash
- 35 : the authority used in the law clause not declared in the authority table
- 41 : portal generic failure
- 42 : failure to download a law declared in the portal
- 43 : failure the compute the hash of a portal law
- 44 : the law attempts to declare multiple portal entries with the same law hash
- 45 : a portal clause attempts to use an undeclared authority
- 51 : alias clause not declared properly
- 52 : alias attempts to use a reserved name
- 53 : the Java law attempts to use object fields
- 54 : the Java law attempts to use restricted operation
- 55 : the Java law attempts to use a restricted inheritance
- 61 : initial control state in unproper format
- 65 : failure starting the Prolog engine
- 70 : message from controller is invalid