admin
2025-01-22 7e31442f0e9b07764e9c6a9680d3d4aeba5fe1de
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Quintiq file version 2.0
#parent: #root
StaticMethod ReadAndThrow (Exception exception, LibOpt_Task task, LibOpt_Snapshot snapshot)
{
  Description:
  [*
    The `LibOpt_SnapshotError::Read` method transforms an `Exception` into a `LibOpt_Error`.
    Then the `LibOpt_SnapshotError::Throw` creates a new `LibOpt_SnapshotError` snapshot from the `LibOpt_Error`. 
    This error snapshot will show up as a child of `snapshot` in the 'Snapshots' form.
  *]
  TextBody:
  [*
    // evr3 Jun-4-2020 (created)
    err := LibOpt_SnapshotError::Read( exception );  
    LibOpt_SnapshotError::Throw( task.Run(), snapshot, err );
  *]
  InterfaceProperties { Accessibility: 'Module' }
}