#pragma once enum class ErrorCode : int { Success = 0, Error = -1, // ... };