[][src]Function glsp::try_call

pub fn try_call<R, A>(
    is_verbose: bool,
    receiver: &R,
    args: &A
) -> Result<Val, GError> where
    A: ToCallArgs + ?Sized,
    R: CallableOps

Calls a function with either verbose or brief error-reporting.

try and try-verbose work by invoking glsp::try_call.

The default error-reporting style is verbose.