Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(314)

Side by Side Diff: pkg/front_end/messages.yaml

Issue 2979623002: Use messages for (some) public API errors (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
2 # for details. All rights reserved. Use of this source code is governed by a 2 # for details. All rights reserved. Use of this source code is governed by a
3 # BSD-style license that can be found in the LICENSE file. 3 # BSD-style license that can be found in the LICENSE file.
4 4
5 # Each entry in this map corresponds to a diagnostic message. Ideally, each 5 # Each entry in this map corresponds to a diagnostic message. Ideally, each
6 # entry contains three parts: 6 # entry contains three parts:
7 # 7 #
8 # 1. A message template (template). 8 # 1. A message template (template).
9 # 9 #
10 # 2. A suggestion for how to correct the problem (tip). 10 # 2. A suggestion for how to correct the problem (tip).
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 --fatal=errors 542 --fatal=errors
543 --fatal=warnings 543 --fatal=warnings
544 --fatal=nits 544 --fatal=nits
545 Makes messages of the given kinds fatal, that is, immediately stop the 545 Makes messages of the given kinds fatal, that is, immediately stop the
546 compiler with a non-zero exit-code. In --verbose mode, also display an 546 compiler with a non-zero exit-code. In --verbose mode, also display an
547 internal stack trace from the compiler. Multiple kinds can be separated by 547 internal stack trace from the compiler. Multiple kinds can be separated by
548 commas, for example, --fatal=errors,warnings. 548 commas, for example, --fatal=errors,warnings.
549 549
550 FastaCLIArgumentRequired: 550 FastaCLIArgumentRequired:
551 template: "Expected value after '#name'." 551 template: "Expected value after '#name'."
552
553 MissingMain:
554 template: "No 'main' method found."
555 tip: "Try adding a method named 'main' to your program."
556 dart2jsCode: MISSING_MAIN
557
558 MissingInputFile:
559 template: "Input file not found: #string."
560
561 MissingSdkRoot:
562 template: "SDK root directory not found: #string."
563
564 MissingSdkSummary:
565 template: "SDK summary not found: #string."
566
567 CombinedCompileSdkAndSummary:
568 template: "The compileSdk and sdkSummary options are mutually exclusive"
569
570 VerificationError:
571 template: "An internal error was found while verifying the output of the compi ler. #string"
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698