Home
last modified time | relevance | path

Searched refs:HandleError (Results 1 – 25 of 42) sorted by relevance

12

/third_party/rust/crates/tracing/examples/examples/
Dtower-load.rs108 HandleError::BadPath => { in call()
112 HandleError::NoContentLength | HandleError::BadRequest(_) => { in call()
115 HandleError::Unknown => StatusCode::INTERNAL_SERVER_ERROR, in call()
124 fn handle_request(req: Request<Body>) -> Result<String, HandleError> { in handle_request() argument
130 Err(HandleError::Unknown) in handle_request()
133 let ch = path.get(1..2).ok_or(HandleError::BadPath)?; in handle_request()
137 .ok_or(HandleError::NoContentLength)?; in handle_request()
141 .map_err(HandleError::bad_request)? in handle_request()
143 .map_err(HandleError::bad_request)?; in handle_request()
158 _ => Err(HandleError::bad_request(BAD_METHOD)), in handle_request()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DEncodingContext.h48 void HandleError(std::unique_ptr<ErrorData> error);
52 HandleError(maybeError.AcquireError()); in ConsumedError()
74 HandleError(std::move(error)); in ConsumedError()
83 HandleError( in CheckCurrentEncoder()
87 HandleError(DAWN_FORMAT_VALIDATION_ERROR( in CheckCurrentEncoder()
90 HandleError(DAWN_FORMAT_VALIDATION_ERROR( in CheckCurrentEncoder()
DEncodingContext.cpp45 HandleError(DAWN_FORMAT_VALIDATION_ERROR("Destroyed encoder cannot be finished.")); in Destroy()
72 void EncodingContext::HandleError(std::unique_ptr<ErrorData> error) { in HandleError() function in dawn_native::EncodingContext
88 mDevice->HandleError(error->GetType(), error->GetFormattedMessage().c_str()); in HandleError()
151 HandleError(DAWN_FORMAT_VALIDATION_ERROR( in EnsurePassExited()
DTintUtils.cpp28 tlDevice->HandleError(InternalErrorType::Validation, diagnostics.str().c_str()); in TintICEReporter()
DErrorScope.h49 bool HandleError(wgpu::ErrorType type, const char* message);
DDevice.cpp406 void DeviceBase::HandleError(InternalErrorType type, const char* message) { in HandleError() function in dawn_native::DeviceBase
460 mErrorScopeStack->HandleError(ToWGPUErrorType(type), message); in HandleError()
465 bool captured = mErrorScopeStack->HandleError(ToWGPUErrorType(type), message); in HandleError()
475 HandleError(error->GetType(), error->GetFormattedMessage().c_str()); in ConsumeError()
567 HandleError(InternalErrorType::Internal, "Device lost for testing"); in APILoseForTesting()
1217 HandleError(InternalErrorType::Validation, in APIInjectError()
1222 HandleError(FromWGPUErrorType(type), message); in APIInjectError()
DErrorScope.cpp62 bool ErrorScopeStack::HandleError(wgpu::ErrorType type, const char* message) { in HandleError() function in dawn_native::ErrorScopeStack
/third_party/node/tools/inspector_protocol/encoding/
Dencoding.cc534 HandleError( in HandleMapEnd()
555 HandleError( in HandleArrayEnd()
606 void HandleError(Status error) override { in HandleError() function in v8_inspector_protocol_encoding::cbor::__anoncbbfc21e0311::CBOREncoder
955 out->HandleError( in ParseValue()
964 out->HandleError(tokenizer->Status()); in ParseValue()
967 out->HandleError(Status{Error::CBOR_UNEXPECTED_EOF_EXPECTED_VALUE, in ParseValue()
1005 out->HandleError( in ParseValue()
1022 out->HandleError( in ParseArray()
1027 out->HandleError(tokenizer->Status()); in ParseArray()
1050 out->HandleError( in ParseMap()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DRenderPassEncoder.cpp86 mTopLevelEncoder->HandleError("Indirect offset out of bounds"); in DrawIndirect()
104 mTopLevelEncoder->HandleError("Indirect offset out of bounds"); in DrawIndexedIndirect()
156 mTopLevelEncoder->HandleError("NaN is not allowed."); in SetViewport()
164 mTopLevelEncoder->HandleError("Width and height must be greater than 0."); in SetViewport()
169 mTopLevelEncoder->HandleError("minDepth and maxDepth must be in [0, 1]."); in SetViewport()
190 mTopLevelEncoder->HandleError("Width and height must be greater than 0."); in SetScissorRect()
DProgrammablePassEncoder.cpp95 mTopLevelEncoder->HandleError("Setting bind group over the max"); in SetBindGroup()
101 mTopLevelEncoder->HandleError("dynamicOffset count mismatch"); in SetBindGroup()
106 mTopLevelEncoder->HandleError("Dynamic Buffer Offset need to be aligned"); in SetBindGroup()
120 mTopLevelEncoder->HandleError("dynamic offset out of bounds"); in SetBindGroup()
DShaderModule.cpp118 GetDevice()->HandleError("Push constants aren't supported."); in ExtractSpirvInfo()
135 GetDevice()->HandleError("Binding over limits in the SPIRV"); in ExtractSpirvInfo()
162 device->HandleError("Attribute location over limits in the SPIRV"); in ExtractSpirvInfo()
173 device->HandleError("Need location qualifier on vertex output"); in ExtractSpirvInfo()
184 device->HandleError("Need location qualifier on fragment input"); in ExtractSpirvInfo()
DCommandEncoder.h59 void HandleError(const char* message);
DComputePassEncoder.cpp62 mTopLevelEncoder->HandleError("Indirect offset out of bounds"); in DispatchIndirect()
/third_party/node/tools/inspector_protocol/lib/
Dencoding_cpp.template542 HandleError(
563 HandleError(
614 void HandleError(Status error) override {
963 out->HandleError(
972 out->HandleError(tokenizer->Status());
975 out->HandleError(Status{Error::CBOR_UNEXPECTED_EOF_EXPECTED_VALUE,
1013 out->HandleError(
1030 out->HandleError(
1035 out->HandleError(tokenizer->Status());
1058 out->HandleError(
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_wire/client/
DDevice.cpp28 void Device::HandleError(const char* message) { in HandleError() function in dawn_wire::client::Device
DDevice.h31 void HandleError(const char* message);
DApiProcs.cpp278 fence->device->HandleError("Value greater than fence signaled value"); in ClientFenceOnCompletion()
386 fence->device->HandleError( in ClientQueueSignal()
391 fence->device->HandleError("Fence value less than or equal to signaled value"); in ClientQueueSignal()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/opengl/
DSwapChainGL.cpp39 GetDevice()->HandleError(error); in GetNextTextureImpl()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DSwapChainGL.cpp39 GetDevice()->HandleError(InternalErrorType::Internal, error); in GetNextTextureImpl()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DSwapChainD3D12.cpp43 GetDevice()->HandleError(error); in GetNextTextureImpl()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DSwapChainVk.cpp41 GetDevice()->HandleError(error); in GetNextTextureImpl()
/third_party/skia/third_party/externals/dawn/src/dawn_wire/client/
DClientDoers.cpp40 device->HandleError(errorType, message); in DoDeviceUncapturedErrorCallback()
DDevice.h54 void HandleError(WGPUErrorType errorType, const char* message);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFContext.cpp1577 function_ref<ErrorPolicy(Error)> HandleError) in DWARFObjInMemory() argument
1604 ErrorPolicy EP = HandleError(createError( in DWARFObjInMemory()
1625 ErrorPolicy EP = HandleError(createError( in DWARFObjInMemory()
1729 if (HandleError(SymInfoOrErr.takeError()) == ErrorPolicy::Halt) in DWARFObjInMemory()
1750 ErrorPolicy EP = HandleError(createError( in DWARFObjInMemory()
1761 ErrorPolicy EP = HandleError( in DWARFObjInMemory()
1893 function_ref<ErrorPolicy(Error)> HandleError, in create() argument
1895 auto DObj = std::make_unique<DWARFObjInMemory>(Obj, L, HandleError); in create()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/metal/
DSwapChainMTL.mm40 GetDevice()->HandleError(error);

12