No. Not this way.
this is the syntax
try { // statements } catch (error:ArgumentError) { trace('An argument error has occured'); } catch (error:Error) { trace('An error has occured which is not argument related'); }
we can use reasoned exceptions, such as IO, custom events.
source share