Flutter Engine
The Flutter Engine
third_party
dart-lang
sdk
runtime
bin
error_exit.h
Go to the documentation of this 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
3
// BSD-style license that can be found in the LICENSE file.
4
5
#ifndef RUNTIME_BIN_ERROR_EXIT_H_
6
#define RUNTIME_BIN_ERROR_EXIT_H_
7
8
namespace
dart
{
9
namespace
bin {
10
11
// Exit code indicating an internal Dart Frontend error.
12
constexpr
int
kDartFrontendErrorExitCode
= 252;
13
// Exit code indicating an API error.
14
constexpr
int
kApiErrorExitCode
= 253;
15
// Exit code indicating a compilation error.
16
constexpr
int
kCompilationErrorExitCode
= 254;
17
// Exit code indicating an unhandled error that is not a compilation error.
18
constexpr
int
kErrorExitCode
= 255;
19
20
void
ErrorExit
(
int
exit_code,
const
char
*
format
, ...);
21
22
}
// namespace bin
23
}
// namespace dart
24
25
#endif
// RUNTIME_BIN_ERROR_EXIT_H_
format
uint32_t uint32_t * format
Definition:
fl_texture_registrar_test.cc:41
dart::bin::kCompilationErrorExitCode
constexpr int kCompilationErrorExitCode
Definition:
error_exit.h:16
dart::bin::kErrorExitCode
constexpr int kErrorExitCode
Definition:
error_exit.h:18
dart::bin::kDartFrontendErrorExitCode
constexpr int kDartFrontendErrorExitCode
Definition:
error_exit.h:12
dart::bin::kApiErrorExitCode
constexpr int kApiErrorExitCode
Definition:
error_exit.h:14
dart::bin::ErrorExit
void ErrorExit(int exit_code, const char *format,...)
Definition:
error_exit.cc:18
dart
Definition:
dart_vm.cc:33
Generated on Sun Jun 23 2024 21:55:22 for Flutter Engine by
1.9.4