Rename exception converter middleware
Fix typehint