Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
39 views

I'm trying to create a custom block in Simscape that convert energy from pressurized water into a torque. Here is my code: component pelton_turbine % Ce composant calcule le couple généré par l'eau ...
Nils Aubague's user avatar
0 votes
1 answer
113 views

I am trying to implement the following custom error pages in ASP.NET Razor Pages (.Net 8.0): 403 Forbidden 404 Not Found 500 Server Error My error pages are RazorPages pages within a directory ...
Dib's user avatar
  • 2,107
0 votes
2 answers
127 views

Ive spent some time reading the GNU make manpages, but cant seem to figure out if what Im trying to achieve is actually possible. Basically I just want to pass variables into info( or error( - but ...
Some O-ne's user avatar
0 votes
0 answers
85 views

Is there anyway to direct custom exception from server side to be shown as prompt dialog in frontend? I am using c# on backend code. I tried to implement server-side global exception handling ...
Faithful Eli Coronel's user avatar
0 votes
1 answer
43 views

I am uloading image using multer and then compressing image using gm. While uploading image, I am checking for file type and if its not image, throwing err to global err handler for skipping image ...
RRR's user avatar
  • 829
0 votes
0 answers
1k views

I would like to access to flash message in custom framework.error_controller in Symfony (5.4). I have a HomeController where I set this: $request->getSession()->getFlashBag()->set('info','...
user avatar
-1 votes
1 answer
722 views

I have a Laravel API that returns JSON responses to the client. By default, Laravel sends error messages in a standard format, such as 422 Unprocessable Entity. However, I want to send custom error ...
HexxonDiv's user avatar
0 votes
0 answers
120 views

I have an error-catching wrapper function and a error-handling wrapper function for my route handlers: function catchAsync(func) { return function (res, req, next) { func(req, res, next).catch((err) =&...
James's user avatar
  • 1
0 votes
1 answer
158 views

I have a principle issue where in my Angular application, I have three components where Component #1: Displays a list of items Component #2: Display a list of recently used items Component #3: ...
ThePancakeMaster's user avatar
0 votes
1 answer
296 views

I have created a logic app to receive an http request and validate the content which is fine. But when I receive the 400 error message, it said only that it was expecting an integer but received a ...
yassine elkadiri's user avatar
1 vote
1 answer
231 views

I am having trouble with returning a DataFrame after some exception handling. What I'm doing is checking for a FileNotFoundError when reading in an excel file, if found then I am printing an error ...
Kevin Rodgers Jr.'s user avatar
-1 votes
1 answer
218 views

i was trying to code what to do when an error happens but i always get this when an error actually happen error found by: gHoSt FaCe#xxxx, in: admins-chat, the message was: <Message id=...
nawafksa090's user avatar
0 votes
1 answer
52 views

I am using RxJava, retrofit, GsonConverter factory. I need to handle errors while parsing retrofit responses globally. I tried to write custom parser but i can't access to response url to pass it to ...
Zafar Abdulloev's user avatar
0 votes
0 answers
349 views

I was working on REST API in express I wrote a custom error handler as below in my project function errorHandler(err, req, res, next) { if (res.headersSent) return next(err); res.status(500); res....
shiblee saidul's user avatar
2 votes
0 answers
256 views

Why is the ConstraintViolationException catch block not executing below when I use @Transactional. It does when I remove @Transactional. I want it to execute so I can do some custom error handling. I ...
Asif's user avatar
  • 1,302
0 votes
2 answers
737 views

I am still quite new to React, I was trying to create some dynamic content and managing Errors with Usefetch. getting data from 20x response codes is fine. however when response code is error (40x, ...
Thibault LESCAIL's user avatar
1 vote
1 answer
3k views

When a request is denied the reply back is: HTTP 403 RBAC: access denied Is there any way of customising this error to have a different status code and reply body?
2240's user avatar
  • 1,730
2 votes
0 answers
1k views

In two of our ASP.Net Web Applications, in the Web.Config file, we've set the Custom Error redirect to our custom error page, and set the mode to "RemoteOnly" so that when we debug locally ...
Jeff King's user avatar
1 vote
1 answer
402 views

I have added span tag in between the img tag so its giving an error Please Explain Why it is giving an error. What the exactly problem is... <img src="any demo images here" alt="...
Nadeem Khan's user avatar
3 votes
2 answers
3k views

In our asp.net web page (.net 4.7.2) we use custom exception rendering logic which creates specific error pages for the user in global.asax.cs via: Application_Error(object sender, EventArgs e) This ...
HCL's user avatar
  • 36.9k
3 votes
1 answer
1k views

in my angular application I have a global error handler which handles all the error. also, I have http interceptor where I am trying to log the error when it happens. but, the http interceptor ...
prakashrajansakthivel's user avatar
-1 votes
1 answer
1k views

i needed some help understanding the best practice for this scenario. I have a custom exception class I created that has 3 child classes.I was overriding the message to fit my need . Now the child ...
Chess Chess's user avatar
3 votes
1 answer
1k views

I am trying to add custom error handling for Spring SOAP web services (version: 3.0.8) as per the steps in the below ticket. How to return custom SOAP Error from Spring Boot Endpoint Service? Added ...
Rob Wilkinson's user avatar
1 vote
0 answers
420 views

I am trying to send out the occurred authentification error as a Node.js/Express JSON response API. My code: console.log("LOGIN USER..."); try { let errors = validationResult(req); ...
Med Mahdi Maarouf's user avatar
0 votes
1 answer
688 views

I am trying to customize my 404/422/500 error pages and for some reason I get a blank page with a "500 Internal Server Error". However, in another project the code below works perfectly fine....
steven ly's user avatar