ConversionException

Summary

Represents a failed runtime type conversion.

Description

Represents a failed runtime type conversion.

Examples

Example of how this exception might be encountered
1
2
3
4
5
6
7
8
9
10
11
12
13
import System;
import System.Exceptions;
 
class Foo {}
 
auto foo = [ [ new Foo() ] ];
 
try {
    Console.log(foo.toExternal());
}
catch(ConversionException e) {
    Console.error(e);
}

Methods

Share

HTML | BBCode | Direct Link