Commit cc1a98cb authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent f1e4f89e
......@@ -33,6 +33,17 @@ using namespace golang;
#include <memory>
// error
error error::New(const string &text) {
error err;
err._err = text;
return err;
}
string error::Error() const {
return _err;
}
// io::
namespace io {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment