asError

public Error asError()

Converts this instance into an io.spine.base.Error.