Fix some comments on raising.
Add missing error type.