Minimal error handling for NET.