Questions tagged [error-messaging]

146 questions
40
votes
9 answers

Turning off "Language Service Disabled" error message in VS2017

We are getting the following "Error" message in our MVC web application in Visual studio 2017 Enterprise. The language service is disabled for project 'C:\Work\Blackhawk Platform\Platform-DEV-Branch\BlackhawkViewer\BlackhawkViewer.csproj' …
TResponse
  • 3,940
  • 7
  • 43
  • 63
16
votes
6 answers

Semantic HTML for confirmation, error and warnings messages

What are people's opinions on semantic HTML for confirmation, error and warnings messages? Currently I have something simple like:

Message Title

Message text

Whereby the…
Sniffer
  • 6,242
  • 10
  • 45
  • 53
8
votes
2 answers

Is it possible to display trigger error message to Webpage?

I have trigger under certain condition, If condition: false Error occurs. I should display that error message which occurs in database trigger to HTML web page to notify user! CREATE TRIGGER check_trigger BEFORE INSERT ON your_table FOR EACH…
6
votes
3 answers

index() error message incorrect for third parameter?

sub count-a { my $word = "banana"; my $count = 0; my $foo; # Source of error: $foo intentionally not given a value. # The value ought to be zero. while True { $foo = index $word, "a", $foo; last…
Clint
  • 109
  • 2
5
votes
3 answers

How to get the details of an error message in an Azure Data Factory pipeline

The last step of my pipeline in Azure Data Factory executes another pipeline with the flow in which there is a Notebook step. As part of my requirement I need to capture the details of the error messages when this step fails (to store it in the…
d2907
  • 798
  • 3
  • 15
  • 45
5
votes
6 answers

How to get all possible error messages of a Laravel Controller method

So I have a Laravel Application, which has many Controllers to handle various aspects of the applications. Now each controller has various methods. Most of the methods have validations rules defined such as: $validationArray = [ …
Abhay Maurya
  • 11,819
  • 8
  • 46
  • 64
5
votes
3 answers

Odd error message when trying to cast a structure in C++

Using C++ on Linux, I just rather stupidly wrote this: struct in_addr ip_addr = ((struct sockaddr_in)socket_addr).sin_addr; Instead of the intended: struct in_addr ip_addr = ((struct sockaddr_in*)&socket_addr)->sin_addr; Giving me this…
Ed King
  • 1,833
  • 1
  • 15
  • 32
4
votes
2 answers

Keycloak FTL: how can we access error messages within the login template on a custom theme

So I'm using keycloak as an authentication mechanism and customizing the login page by modifying the login.ftl file. So far so good. I'm importing the template.ftl file in my login.ftl - as instructed by keycloak's docs - so far so good. Within…
4
votes
1 answer

Django crispy-forms doesn't show error meesage for FileExtensionValidator

Package version:1.7.2 Django version:2.1 Python version:3.7 Template pack: Bootstrap4 I have a FileField in my model and I implemented Django's FileExtensionValidator, as well as my own custom field validator to check the file size. It works, but…
student
  • 289
  • 2
  • 14
3
votes
1 answer

Flash error message not displaying the background colour in Flask. Why?

Why is the category error of Flask flash messages not working for me? flash('Error message', category='error') I get the following invisible background instead of the red one. What could be the reason? Other info Using all the other known…
Robb1
  • 4,587
  • 6
  • 31
  • 60
3
votes
3 answers

Detect the error message in the input field

How can I show the message if the user types a restricted symbol? For example, if the user types * in the input field, the error message can show A filename cannot contain any of the following characters: \/:*?"<>|. I hope someone can guide me how…
user13466088
3
votes
1 answer

Swift Firebase Authentication - two questions about error handling (I'm not sure how to name these errors)

It's really hard to find a proper title for this question. Please be easy on me. The first part is a check to see if an account exists: Auth.auth().fetchSignInMethods(forEmail: userEmail, completion: { (providers, error) in …
3
votes
0 answers

How to use mysqli_sqlstate() to display trigger error message?

I have Before Insert trigger under certain condition, If condition: false Error occurs. I should display that error message which occurs in database trigger to HTML web page to notify user! CREATE TRIGGER check_trigger BEFORE INSERT ON…
3
votes
1 answer

Conditional error messages for Shiny App

I have an app where you input your own data and then there are two select inputs where the user can select their dependent variable (column from inputted data) and multiple independent variables. I want to make it so if they select a column from…
Sawyer Keels
  • 47
  • 1
  • 6
3
votes
2 answers

Pass custom parameters in Laravel Validation with regex

Okay, I've got in a very difficult situation here and I think I'm either missing on something crucial that's already present or Laravel doesn't provide a way to achieve that as of right now. I'd like to specify a custom validation error message…
D. Petrov
  • 1,147
  • 15
  • 27
1
2 3
9 10