exception documentation
class ProgrammerError(GenericError):
Programming-related error.
This is raised in cases we determine that the calling conventions have been violated, meaning we got some desynchronisation between parts of our code. It signifies a real programming bug.