added api doc for Error and Guard packages. #15