People keep giving me examples with carp instead of warn. Why? What makes carp better than warn?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
carp gives you more info as to where the message comes from (context)
produces
kinda silly for this small program but comes in handy when you want to know who called the method that’s carp’ing.