Canada: process custom HTTP response errors.

Fixes #3480.
Merge pull request #3543 from sergii-tkachenko/canada-paste-expected-errors

Canada: process custom HTTP response errors.