Node and express js error

Refused to apply style from ‘http://localhost:3000/Public/css/style.css’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.

Anybody tell me what the heck is this error.

Check if you mistyped href attribute value such below.

<link rel="stylesheet" href="styles.css">

Is it a good idea not to pass error codes like 401, 403, 404 etc like (res.status(404).json(error)) but instead always have a 200 status but use a flag in the response to check whether it was success or reject and message (for example res.json({ success: false, message: “Something went wrong on the server”})) and then catch those messages on the fronted also based on this flag( promise.then(response => { if (response.data.success) }) etc, instead of dealing with errors in catch.

Is this bad? I hate having errors in console and dealing with “catch” in the promise and approach i wrote above looks much better to me, easier to handle, and I send my own messages instead of dealing with complex structured, deeply nested error codes and stuff.
https://showbox.bio/ https://tutuapp.uno/
Thanks!

But I was wrote this code on node and express js how I handle errors in these technologies.