error_code wasn't an exception type; it should have been system_error.
Attach a file by drag & drop or click to upload