refactor: standardize error response

Edited by Vitalii Cherednichenko

Merge request reports