Show / Hide Table of Contents

    Class ExceptionIntrinsics.Operators

    A collection of names for exception handling operations.

    Inheritance
    System.Object
    ExceptionIntrinsics.Operators
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Flame.Compiler.Instructions
    Assembly: Flame.Compiler.dll
    Syntax
    public static class Operators

    Fields

    | Improve this Doc View Source

    All

    An immutable array containing all standard exception handling intrinsics.

    Declaration
    public static readonly ImmutableArray<string> All
    Field Value
    Type Description
    System.Collections.Immutable.ImmutableArray<System.String>
    | Improve this Doc View Source

    Capture

    The 'capture' operator, which captures a (thrown) exception. Captured exceptions can be rethrown.

    Declaration
    public const string Capture = "capture"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    GetCapturedException

    The 'get_captured_exception' operator, which extracts the exception captured by a captured exception.

    Declaration
    public const string GetCapturedException = "get_captured_exception"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    Rethrow

    The 'rethrow' operator, which rethrows an existing exception.

    Declaration
    public const string Rethrow = "rethrow"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    Throw

    The 'throw' operator, which throws a new exception.

    Declaration
    public const string Throw = "throw"
    Field Value
    Type Description
    System.String
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX