docs: add custom exceptions section and start of terminology section