ABS hydraulic pump

Hello, on Friday my ABS lamp in the cockpit has approached, since then the ABS doesn’t work anymore. I was in a small workshop today and had the error code read out, it’s a sporadic error on the hydraulic pump. The man from the workshop said that will be a damn expensive fun, that will usually end pretty bad. Now your advice is asked, what can I check everything to see if the hydraulic pump is really defective or only something else is wrong why this error is ejected? Greeting JumpY PS: The ABS lamp only goes from ~25km/h to