Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
error-handling
- Page 1
Re: Custom font on Cloudflare error page
Programming
Web Development
3 Days Ago
by JackRyan248
> As you may know, yuo can customize the
error
pages in Cloudflare, such as for a WAF block, etc. &…; > For some reason, since the switchover to the new
error
pages dashboard, the custom font I always use isn't… like there might be an issue with how Cloudflare is
handling
the font conversion or loading process; checking the CSS or…
How to connect to the Pinterest API using PHP?
Programming
Web Development
2 Months Ago
by FarrisFahad
…($ch); if ($response === false) { die("cURL
Error
: " . htmlspecialchars($
error
)); } $data = json_decode($response, true); //
Error
handling
for HTTP response if ($httpCode !== 200) { die…
Re: How to connect to the Pinterest API using PHP?
Programming
Web Development
2 Months Ago
by Dani
Never trust ChatGPT to write fully flushed out code for ya :) Pinterest uses OAuth to authorize your app on behalf of your app's end-user, if that makes sense. For example, your goal is for your end-user to load up your app, and have access to *their* Pinterest account. What OAuth does is give your end-user the ability to grant your app …
Re: How to connect to the Pinterest API using PHP?
Programming
Web Development
2 Months Ago
by Dani
Oh, it looks as if the tutorial was for the old DaniWeb API that no longer exists. The [DaniWeb Connect API](https://www.daniweb.com/connect/developers) is also OAuth-based and has some of its own documentation.
Error handling
Programming
Web Development
17 Years Ago
by tony.willson
We struggle to come up with a decent
error
handling
function. I thought that I use a global variable $live …--*/ ob_start(); /*-- live site --*/ $live=TRUE; /*--
error
handling
function giving back
error
number, the actual message, the
error
file, the
error
line and the variables (what…
error handling
Programming
Software Development
15 Years Ago
by softdev
Hi, are there any alternatives for
error
handling
in Java other than exceptions? i'm just reading on
error
handling
. like in c++, i'm meeting such things as retturn codes, deferred
error
handling
.i haven't gone into much details on these. but are they available in java?
Re: Error Handling
Programming
Software Development
16 Years Ago
by VernonDozier
… a for loop. I have not spent much time studying
error
handling
and was wondering if anyone could refer me to a… useful
error
-
handling
tutorial. I am mostly interested in allowing my program to… "legality". If it's illegal data, give an
error
message and prompt for input again. If it was legal…
Error Handling
Programming
Software Development
16 Years Ago
by dmanw100
… a for loop. I have not spent much time studying
error
handling
and was wondering if anyone could refer me to a… useful
error
-
handling
tutorial. I am mostly interested in allowing my program to…
Re: Error Handling
Programming
Software Development
16 Years Ago
by dmanw100
… stick with the cin function if it has any more
error
handling
abilities. I do not know if this is the correct…
Error handling
Programming
Software Development
13 Years Ago
by Morten Brendefu
… but. I would like to implement some kind of
error
handling
. The way I do this also work, but the…program instead? It is important to me to make descriptive
error
messages that can be used to solve problem. [CODE]…; BEGIN IF Max10>10 THEN BEGIN ErrorMessage='An
error
occurred. Parameter can not hold larger values than 10';…
error handling?
Programming
Software Development
14 Years Ago
by lochnessmonster
ok so for most of my
error
handling
i throw and exception and log the info of the
error
to a file...my question… the log function and possibly trace back and find what
error
occured before that! -thx
error-handling
Programming
Software Development
16 Years Ago
by akira_shinizaki
Hallo everyone, I have some problems with my assignment. I asked to provide some
error
-
handling
in my program. What I want to ask abou how we handle an input that isn't its type. For example i define a variable int a but we "accidentally" input a string or other type. How we can handle that
error
type ? Thank you before
Error Handling 3rd party software
Programming
Software Development
16 Years Ago
by TheBrenda
…it against some 3rd party software that added all the
error
handling
. The software provided a log with easy to read call…to the event log. But best of all, all the
error
handling
was 100% consistent across all of our software. The …loved it. Is there any VB.Net good and inexpensive
error
handling
software? And yes, I know that it can be …
Error handling for null input[question]
Programming
Software Development
12 Years Ago
by minsu44
…want to learn how to do
error
handling
assembly language[TASM] Basically if …its accepted] you entered: A TITLE
error
handling
DOSSEG .model SMALL .stack 100h .… mov dx, OFFSET UERROR ; print
error
message mov ah, 09h int 21h …
error handling for AJAX div
Programming
Web Development
15 Years Ago
by gromf
… just div) breaks and throws a 404
error
. So, I'd like to add
error
-
handling
-- specifically, a pre-written message/div-content… the script and php files, is there any kind of
error
/timeout
handling
that can be placed into this html? Any help…
Re: Error handling for null input[question]
Programming
Software Development
12 Years Ago
by minsu44
… able to find out how to fix my problem of
error
handling
. but i want the userinput to be only letters. however… ; jump if something below 21h is entered jmp Prnt ; skip
error
and print user entered value however this allows all characters…
error handling with the anydbm module
Programming
Software Development
15 Years Ago
by cyberparadox
… do not have a file open, I get the following
error
: [icode] Traceback (most recent call last): File "C:\…\lib\bsddb\__init__.py", line 250, in _checkOpen raise
error
, "BSDDB object has already been closed" DBError: BSDDB… is fine and well but I need to do some
error
handling
, but I do not know the syntax. Here is something…
Error handling - record not found
Programming
Software Development
12 Years Ago
by biscayne
…] if andexfield == elem: do bladibla Now I want ot add
error
handling
: if no record in fname is found where andexfield == elem… print "
Error
, no andexfield in fname" Can I do this with…
Error Handling and recovery
Programming
Software Development
12 Years Ago
by mumaga
I need to work on
error
handling
and recovery for the World of Zuul. I was wondering where usually try catch exception should be used, which processes that need them? I know that I have to use them for opening and writing to a file,,,
Re: error handling
Programming
Software Development
15 Years Ago
by BestJewSinceJC
It depends how the method is defined; some methods might be defined as "returns XXX under YYY conditions". If so, you could check the returned value for errors. Other than that, I don't know of any ways to do
error
checking, but Exceptions and return values are really all you need IMO...
Re: Error handling
Programming
Web Development
17 Years Ago
by hielo
… in the content area You need to trigger the
error
only while printing the content. For example the code below … it within the content because you are not triggering the
error
within the content: [code=php] <?php $x = (int)$_POST… case you haven't seen it, there is a sample
error
handler at: [url]http://us2.php.net/manual/en/function…
Re: Error Handling
Programming
Software Development
16 Years Ago
by AceofSpades19
… "legality". If it's illegal data, give an
error
message and prompt for input again. If it was legal…
Re: error-handling
Programming
Software Development
16 Years Ago
by akira_shinizaki
… make so we can back inputing the data after we
handling
the
error
? Thank you for your help >.<
Re: error handling?
Programming
Software Development
14 Years Ago
by mike_2000_17
…something like this: [CODE] class Logger { private: //fall-back
error
report: void log_cerr(const std::string& aMessage) throw() { bool…last resort! }; std::ofstream outFile; public: Logger() throw() : outFile("
error
.log") { using namespace std; outFile.exceptions(ofstream::eofbit | ofstream…
Re: Error handling
Programming
Software Development
13 Years Ago
by darkagn
You can use a try-except block like so: [code] try begin Example(6); Example(8); Example(10); Example(15); Example(7); Example(1); end except on E: Exception do raise Exception.Create(E.Message); // raised as a new exception so will include the line calling Example(15) as the
error
line end; [/code]
Re: Error handling
Programming
Software Development
13 Years Ago
by Morten Brendefu
… main part of program by delphi when responding to the
error
. It seems like it target the line after the actual…
Re: error handling?
Programming
Software Development
14 Years Ago
by ndeniche
What about showing a messagebox with the
error
in the exception? That way, even though you handle it, you can know what it is
dynamic_cast without error handling
Programming
Software Development
13 Years Ago
by stereomatching
… *bp = &derivedInstance; base &br = derivedInstance; //cast pointer with
error
handling
if(derived *dp = dynamic_cast<derived>(bp)) ...do something…;derived>(bp) ...do something with dp //cast reference with
error
handling
try { derived *dr = dynamic_cast<derived>(bp); } catch(std…
Re: dynamic_cast without error handling
Programming
Software Development
13 Years Ago
by stereomatching
…; base &br = derivedInstance; //cast pointer with
error
handling
if(derived *dp = dynamic_cast<derived*>(bp)) …;<std::endl; } //cast pointer without
error
handling
derived *dp = dynamic_cast<derived*>(bp…lt;<std::endl; } //cast reference without
error
handling
base &br2 = baseInstance; derived &…
Opinions on Error Handling
Programming
Software Development
14 Years Ago
by MikeTackett
…thoughts on how I am currently doing
error
handling
in my VB.NET programs. Basically I… an
error
handling
sub passing the exception and a string. The
error
handling
sub gives an
error
message and…;Contact MIS", "System
Error
", MessageBoxButtons.OK, MessageBoxIcon.
Error
) errorWrite.Write("***
ERROR
on " & curDate …
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC