projects
/
mussa.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
5135b44288a81255532f30f6d8e66fca17dc1b90
[mussa.git]
/
py
/
stl_container_adapter.cpp
1
#include "stl_container_adapter.hpp"
2
3
void translate(IndexError const& e)
4
{
5
PyErr_SetString(PyExc_IndexError, "Index out of range");
6
}
7
8
void translate(KeyError const& e)
9
{
10
PyErr_SetString(PyExc_KeyError, "Key not found");
11
}
12