Bike.Interpreter.Builtin.ErrorFactory.CreateClrError C# (CSharp) Method

CreateClrError() public static method

public static CreateClrError ( Exception cause ) : BikeObject
cause System.Exception
return BikeObject
        public static BikeObject CreateClrError(Exception cause)
        {
            cause = cause is TargetInvocationException && cause.InnerException != null
                ? cause.InnerException
                : cause;
            return CreateErrorFromType("ClrError", null, cause);
        }

Same methods

ErrorFactory::CreateClrError ( string message ) : BikeObject