Lyricdev
GitHub

struct Catch

pub struct Catch :: [Debug]

Conforms to Debug.

A catch clause: the binding's name, its type (catch (e: T)) or its set (catch (e in [A, B])), the body - written bare after a try expression when isExpr.

Fields

pub name: ?Ident
pub type: ?Type
pub types: Type[]
pub body: Block
pub isExpr: bool
pub span: Span