Baseline: tree as shared
This commit is contained in:
commit
659c03bbf8
1471 files changed
+990535
No files matched your search
@@ -0,0 +1,155 @@
|
||||
{
|
||||
"args": "",
|
||||
"askedAt": "2026-10-03T14:18:15+00:00",
|
||||
"compiler": "mojo_1_1_0",
|
||||
"firstItem": "manual/code/manual/errors/typed_errors_edge_cases",
|
||||
"key": "e72c9196e314067a5283bd432b9d320bf760324718c0183b2411cb483e7ae8f9",
|
||||
"mode": "run",
|
||||
"raw": {
|
||||
"buildResult": {
|
||||
"code": 0,
|
||||
"compilationOptions": [
|
||||
"build",
|
||||
"/app/example.mojo"
|
||||
],
|
||||
"defaultExecOptions": {
|
||||
"env": {
|
||||
"CPLUS_INCLUDE_PATH": "/usr/include/x86_64-linux-gnu",
|
||||
"C_INCLUDE_PATH": "/usr/include/x86_64-linux-gnu",
|
||||
"HOME": "/home/ce",
|
||||
"LD_LIBRARY_PATH": "",
|
||||
"LIBRARY_PATH": "/usr/lib/x86_64-linux-gnu",
|
||||
"MODULAR_CRASH_REPORTING_ENABLED": "false",
|
||||
"PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
|
||||
},
|
||||
"maxErrorOutput": 5000,
|
||||
"timeoutMs": 20000
|
||||
},
|
||||
"downloads": [],
|
||||
"execTime": 4663,
|
||||
"executableFilename": "/nosym/tmp/compiler-explorer-compilerkIMJ2J/example",
|
||||
"inputFilename": "example.mojo",
|
||||
"instructionSet": "amd64",
|
||||
"okToCache": true,
|
||||
"packageStoreTime": 60,
|
||||
"preparedLdPaths": [
|
||||
"/opt/compiler-explorer/mojo-1.1.0/lib",
|
||||
"/opt/compiler-explorer/mojo-1.1.0/lib32",
|
||||
"/opt/compiler-explorer/mojo-1.1.0/lib64"
|
||||
],
|
||||
"processExecutionResultTime": 0.0013669990003108978,
|
||||
"stderr": [],
|
||||
"stdout": [],
|
||||
"timedOut": false,
|
||||
"truncated": false
|
||||
},
|
||||
"code": 0,
|
||||
"didExecute": true,
|
||||
"execTime": 32,
|
||||
"okToCache": true,
|
||||
"processExecutionResultTime": 0.03853999823331833,
|
||||
"queueTime": 5,
|
||||
"stderr": [],
|
||||
"stdout": [
|
||||
{
|
||||
"text": "=== Pattern 1: Nested try blocks ==="
|
||||
},
|
||||
{
|
||||
"text": "Unified error: ApplicationError[network]: NetworkError[404]: Resource not found"
|
||||
},
|
||||
{
|
||||
"text": " Source: network"
|
||||
},
|
||||
{
|
||||
"text": ""
|
||||
},
|
||||
{
|
||||
"text": "=== Pattern 2: Error propagation ==="
|
||||
},
|
||||
{
|
||||
"text": "Propagated through 3 levels: NetworkError[500]: Server error"
|
||||
},
|
||||
{
|
||||
"text": ""
|
||||
},
|
||||
{
|
||||
"text": "=== Pattern 3: Re-raising ==="
|
||||
},
|
||||
{
|
||||
"text": ""
|
||||
},
|
||||
{
|
||||
"text": "--- With logging ---"
|
||||
},
|
||||
{
|
||||
"text": "Logging before re-raise: NetworkError[404]: Resource not found"
|
||||
},
|
||||
{
|
||||
"text": "After re-raise: NetworkError[404]: Resource not found"
|
||||
},
|
||||
{
|
||||
"text": ""
|
||||
},
|
||||
{
|
||||
"text": "--- As different type ---"
|
||||
},
|
||||
{
|
||||
"text": "Converted: ApplicationError[network]: NetworkError[404]: Resource not found"
|
||||
},
|
||||
{
|
||||
"text": ""
|
||||
},
|
||||
{
|
||||
"text": "--- Modified ---"
|
||||
},
|
||||
{
|
||||
"text": "Modified: NetworkError[404]: [Modified] Resource not found"
|
||||
},
|
||||
{
|
||||
"text": ""
|
||||
},
|
||||
{
|
||||
"text": "=== Pattern 4: Error suppression ==="
|
||||
},
|
||||
{
|
||||
"text": ""
|
||||
},
|
||||
{
|
||||
"text": "--- Return default ---"
|
||||
},
|
||||
{
|
||||
"text": "Suppressed error: NetworkError[404]: Resource not found"
|
||||
},
|
||||
{
|
||||
"text": "Got result: default value"
|
||||
},
|
||||
{
|
||||
"text": ""
|
||||
},
|
||||
{
|
||||
"text": "--- Continue execution ---"
|
||||
},
|
||||
{
|
||||
"text": "Ignored error: NetworkError[404]: Resource not found"
|
||||
},
|
||||
{
|
||||
"text": "Continuing after suppressed error"
|
||||
}
|
||||
],
|
||||
"timedOut": false,
|
||||
"truncated": false
|
||||
},
|
||||
"result": {
|
||||
"asm": null,
|
||||
"buildStderr": "",
|
||||
"compiled": true,
|
||||
"executed": true,
|
||||
"exitCode": 0,
|
||||
"stderr": "",
|
||||
"stdout": "=== Pattern 1: Nested try blocks ===\nUnified error: ApplicationError[network]: NetworkError[404]: Resource not found\n Source: network\n\n=== Pattern 2: Error propagation ===\nPropagated through 3 levels: NetworkError[500]: Server error\n\n=== Pattern 3: Re-raising ===\n\n--- With logging ---\nLogging before re-raise: NetworkError[404]: Resource not found\nAfter re-raise: NetworkError[404]: Resource not found\n\n--- As different type ---\nConverted: ApplicationError[network]: NetworkError[404]: Resource not found\n\n--- Modified ---\nModified: NetworkError[404]: [Modified] Resource not found\n\n=== Pattern 4: Error suppression ===\n\n--- Return default ---\nSuppressed error: NetworkError[404]: Resource not found\nGot result: default value\n\n--- Continue execution ---\nIgnored error: NetworkError[404]: Resource not found\nContinuing after suppressed error",
|
||||
"timedOut": false
|
||||
},
|
||||
"seconds": 5.08,
|
||||
"sourceSha256": "455b0df381cf30de4dfd22a121e7804f149b766e1d9c26a2776739a69a628e65",
|
||||
"stdin": ""
|
||||
}
|
||||
Reference in new issue
Block a user