kite/error: implement a Code() method to imply third party interfaces