LPS-44686 Use Constants for error code